ee.Array.toUint8

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

UsageReturns
Array.toUint8()Array
ArgumentTypeDetails
this: inputArrayThe input array.