PIXI.utils.sign
sign(n: number) → {number}
Returns sign of number
Name | Type | Description |
---|---|---|
n | number |
the number to check the sign of |
Type | Description |
---|---|
number |
0 if |
sign(n: number) → {number}
Returns sign of number
Name | Type | Description |
---|---|---|
n | number |
the number to check the sign of |
Type | Description |
---|---|
number |
0 if |