gis-tools-ts - v0.6.0
    Preparing search index...

    Function sign

    • Returns the sign of x

      Parameters

      • x: number

        The value to get the sign of

      Returns -1 | 1

      • 1 if x is positive, -1 if x is negative