ee.List.reduce

Apply a reducer to a list. If the reducer takes more than 1 input, then each element in the list is assumed to be a list of inputs. If the reducer returns a single output, it is returned directly, otherwise returns a dictionary containing the named reducer outputs.

UsageReturns
List.reduce(reducer)Object
ArgumentTypeDetails
this: listList

reducerReducer

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!