Constraints to be applied on shuffledSubarray

Since 2.18.0

interface ShuffledSubarrayConstraints {
    maxLength?: number;
    minLength?: number;
}

Properties

maxLength?: number

Upper bound of the generated subarray size (included)

The length of the original array itself

Since 2.4.0

minLength?: number

Lower bound of the generated subarray size (included)

0

Since 2.4.0