ee.Array.toByte

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

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