ee.Array.min

Stay organized with collections Save and categorize content based on your preferences.
On an element-wise basis, selects the minimum of the first and second values.

UsageReturns
Array.min(right)Array
ArgumentTypeDetails
this: leftArrayThe left-hand value.
rightArrayThe right-hand value.

Examples

Code Editor (JavaScript)

var empty = ee.Array([], ee.PixelType.int8());
print(empty.min(empty));  // []

print(ee.Array([0, 1, 2, 3]).min(ee.Array([-1, 3, 0, 2])));  // [-1,1,0,2]