T.bigint
A scalar. Like T.string, it can't be used bare, because there's no sensible default range. Call .whereby({ min, max }) first.
T.bigint.whereby({ min: 0n, max: 1000n });
T.bigint.whereby({ min: { value: 0n, exclusive: true }, max: 1000n });
T.bigint.whereby({ min: 0, max: 1000 }); // the same range, written as numbersAn end can be a bigint or a number. A number must be a safe integer, or .whereby() throws InvalidBoundError. Past ±2^53 a number literal has already been rounded, so write those ends as a bigint.
.admits({ min, max }) changes what adapters accept without changing what is generated. See .admits(...). For bigints that never repeat, see T.unique.bigint.
T.bigint.as(produce) replaces how the value is generated with your own function. See T.opaque.
