Function: uniqueArray()
Call Signature
uniqueArray<
T,U>(arb,constraints?):Arbitrary<T[]>
Defined in: packages/fast-check/src/arbitrary/uniqueArray.ts:179
For arrays of unique values coming from arb
Type Parameters
| Type Parameter |
|---|
T |
U |
Parameters
| Parameter | Type | Description |
|---|---|---|
arb | Arbitrary<T> | Arbitrary used to generate the values inside the array |
constraints? | UniqueArrayConstraintsRecommended<T, U> | Constraints to apply when building instances |
Returns
Arbitrary<T[]>
Remarks
Since 2.23.0
Call Signature
uniqueArray<
T>(arb,constraints):Arbitrary<T[]>
Defined in: packages/fast-check/src/arbitrary/uniqueArray.ts:192
For arrays of unique 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 | UniqueArrayConstraintsCustomCompare<T> | Constraints to apply when building instances |
Returns
Arbitrary<T[]>
Remarks
Since 2.23.0
Call Signature
uniqueArray<
T,U>(arb,constraints):Arbitrary<T[]>
Defined in: packages/fast-check/src/arbitrary/uniqueArray.ts:202
For arrays of unique values coming from arb
Type Parameters
| Type Parameter |
|---|
T |
U |
Parameters
| Parameter | Type | Description |
|---|---|---|
arb | Arbitrary<T> | Arbitrary used to generate the values inside the array |
constraints | UniqueArrayConstraintsCustomCompareSelect<T, U> | Constraints to apply when building instances |
Returns
Arbitrary<T[]>
Remarks
Since 2.23.0
Call Signature
uniqueArray<
T,U>(arb,constraints):Arbitrary<T[]>
Defined in: packages/fast-check/src/arbitrary/uniqueArray.ts:215
For arrays of unique values coming from arb
Type Parameters
| Type Parameter |
|---|
T |
U |
Parameters
| Parameter | Type | Description |
|---|---|---|
arb | Arbitrary<T> | Arbitrary used to generate the values inside the array |
constraints | UniqueArrayConstraints<T, U> | Constraints to apply when building instances |
Returns
Arbitrary<T[]>
Remarks
Since 2.23.0