Appearance
KBE3D / KBCore / Cesium / Math / sign
sign(value: number): number
value
number
Returns the sign of the value; 1 if the value is positive, -1 if the value is negative, or 0 if the value is 0.
The value to return the sign of.
The sign of value.