Constraints to be applied on bigInt

Since 2.6.0

interface BigIntConstraints {
    max?: bigint;
    min?: bigint;
}

Properties

Properties

max?: bigint

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

Since 2.6.0

min?: bigint

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

Since 2.6.0