Function: array()
array<
T>(arb,constraints?):Arbitrary<T[]>
Defined in: packages/fast-check/src/arbitrary/array.ts:78
For arrays of values coming from arb
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type | Description |
|---|---|---|
arb | Arbitrary<T> | Arbitrary used to generate the values inside the array |
constraints | ArrayConstraints | Constraints to apply when building instances (since 2.4.0) |
Returns
Arbitrary<T[]>
Remarks
Since 0.0.1