- BigInt(value: string | number | bigint | boolean): bigint
Parameters
- value: string | number | bigint | boolean
Returns bigint
Properties
Methods
asIntN
- asIntN(bits: number, int: bigint): bigint
Returns bigint
asUintN
- asUintN(bits: number, int: bigint): bigint
Returns bigint
Interprets the low bits of a BigInt as a 2's-complement signed integer. All higher bits are discarded.