Function sign

  • Get the sign of a bigint.

    Returns

    x>0: 1n, x<0: -1n, x=0: 0n

    Parameters

    • x: bigint

      a bigint

    Returns bigint

Generated using TypeDoc