• Returns sign of number

    Parameters

    • n: number

      the number to check the sign of

    Returns -1 | 0 | 1

    0 if n is 0, -1 if n is negative, 1 if n is positive

    Memberof

    PIXI.utils

    Function

    sign

Generated using TypeDoc