# ee.Array.signum

On an element-wise basis, computes the signum function (sign) of the input; 0 if the input is 0, 1 if the input is greater than 0, -1 if the input is less than 0.

<br />

| Usage | Returns |
|---|---|
| `Array.signum()` | Array |

| Argument | Type | Details |
|---|---|---|
| this: `input` | Array | The input array. |