Function sign

    • Returns the sign of the input, or zero
    • 返回输入的符号,或零

    Parameters

    • x: number

      input

    Returns -1 | 0 | 1

    -1|0|1 output

Generated using TypeDoc