Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BigIntConstructor

Callable

  • BigIntConstructor(value: string | number | bigint | boolean): bigint
  • Parameters

    • value: string | number | bigint | boolean

    Returns bigint

Index

Properties

Methods

Properties

prototype: <internal>.BigInt

Methods

  • asIntN(bits: number, int: bigint): bigint
  • Interprets the low bits of a BigInt as a 2's-complement signed integer. All higher bits are discarded.

    Parameters

    • bits: number

      The number of low bits to use

    • int: bigint

      The BigInt whose bits to extract

    Returns bigint

  • asUintN(bits: number, int: bigint): bigint
  • Interprets the low bits of a BigInt as an unsigned integer. All higher bits are discarded.

    Parameters

    • bits: number

      The number of low bits to use

    • int: bigint

      The BigInt whose bits to extract

    Returns bigint

Generated using TypeDoc