<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-definition-dsl](./case-definition-dsl.md) &gt; [matchers](./case-definition-dsl.matchers.md) &gt; [arrays](./case-definition-dsl.matchers.arrays.md) &gt; [ArrayLengthOptions](./case-definition-dsl.matchers.arrays.arraylengthoptions.md) &gt; [minLength](./case-definition-dsl.matchers.arrays.arraylengthoptions.minlength.md)

## matchers.arrays.ArrayLengthOptions.minLength property

The minimum length for the array - must be greater than zero, otherwise empty arrays pass and you wouldn't be testing the array contents.

Default 1.

**Signature:**

```typescript
readonly minLength?: number;
```
