Skip to main content

Interface: BigIntConstraints

Defined in: packages/fast-check/src/arbitrary/bigInt.ts:10

Constraints to be applied on bigInt

Remarks

Since 2.6.0

Properties

max?

optional max?: bigint

Defined in: packages/fast-check/src/arbitrary/bigInt.ts:20

Upper bound for the generated bigints (eg.: -2n, 2147483647n, BigInt(Number.MAX_SAFE_INTEGER))

Remarks

Since 2.6.0


min?

optional min?: bigint

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

Lower bound for the generated bigints (eg.: -5n, 0n, BigInt(Number.MIN_SAFE_INTEGER))

Remarks

Since 2.6.0