Skip to main content

Interface: SubarrayConstraints

Defined in: packages/fast-check/src/arbitrary/subarray.ts:9

Constraints to be applied on subarray

Remarks​

Since 2.4.0

Properties​

maxLength?​

optional maxLength?: number

Defined in: packages/fast-check/src/arbitrary/subarray.ts:21

Upper bound of the generated subarray size (included)

Default Value​

The length of the original array itself

Remarks​

Since 2.4.0


minLength?​

optional minLength?: number

Defined in: packages/fast-check/src/arbitrary/subarray.ts:15

Lower bound of the generated subarray size (included)

Default Value​

0

Remarks​

Since 2.4.0