• Returns -1 if value is negative and +1 is value is positive.

    Returns

    the value itself if it's equal to zero.

    Parameters

    • value: number

    Returns number