IonizeDocsionize.cc ↗

Math Library

math.sign

Returns -1 if x < 0, 0 if x == 0, or 1 if x > 0.

sign(x: number) -> number