ee.Array.min

On an element-wise basis, selects the minimum of the first and second values.

UsageReturns
Array.min(right)Array
ArgumentTypeDetails
this: leftArray

The left-hand value.

rightArray

The right-hand value.

Examples

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]

Python

# Your example goes here!