ee.Image.arrayMask

Creates an array image where each array-valued pixel is masked with another array-valued pixel, retaining only the elements where the mask is non-zero. If the mask image has one band it will be applied to all the bands of 'input', otherwise they must have the same number of bands.

UsageReturns
Image.arrayMask(mask)Image
ArgumentTypeDetails
this: inputImage

Array image to mask.

maskImage

Array image to mask with.