Function sign

  • Get the sign of a bigint.

    Parameters

    • x: bigint

      a bigint

    Returns bigint

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

Generated using TypeDoc