Function isPow2

  • Check if bigint is a power-of-2.

    Parameters

    • x: bigint

      a bigint

    Returns boolean

    2ⁱ = x? | i = +ve integer

Generated using TypeDoc