array
Callable
Type parameters
- T
- Min: number = number
Parameters
arbitrary: Arbitrary<T>
The arbitraries to create an array of.
constraints: MaybePartial<ArrayGenerator<T, Min>> = {}
MaybePartial<ArrayGenerator
<T>>
Returns Dependent<ArrayOf<T, Min>>
An arbitrary that generates a record of all the properties of the given arbitraries.
It generates an array of arbitrary values, with a length between
minLength
andmaxLength
, and with unique items ifuniqueItems
is true.Example