# ee.Array.toUint8

On an element-wise basis, casts the input value to an unsigned 8-bit integer.

<br />

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

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