ee.Array.mask

Creates a subarray by slicing out each position in an input array that is parallel to a non-zero element of the given mask array.

UsageReturns
Array.mask(mask)Array
ArgumentTypeDetails
this: inputArray

Array to mask.

maskArray

Mask array.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!