UNPKG

472 BTypeScriptView Raw
1import type { Arbitrary } from '../check/arbitrary/definition/Arbitrary.js';
2/**
3 * For signed bigint of n bits
4 *
5 * Generated values will be between -2^(n-1) (included) and 2^(n-1) (excluded)
6 *
7 * @param n - Maximal number of bits of the generated bigint
8 *
9 * @deprecated Please use ${@link bigInt} with `fc.bigInt({ min: -2n**(n-1n), max: 2n**(n-1n)-1n })` instead
10 * @remarks Since 1.9.0
11 * @public
12 */
13export declare function bigIntN(n: number): Arbitrary<bigint>;