ee.Array.toShort

On an element-wise basis, casts the input value to a signed 16-bit integer.

UsageReturns
Array.toShort()Array
ArgumentTypeDetails
this: inputArray

The input array.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!