ee.List.iterate

Iterate an algorithm over a list. The algorithm is expected to take two objects, the current list item, and the result from the previous iteration or the value of first for the first iteration.

UsageReturns
List.iterate(function, first)Object
ArgumentTypeDetails
this: listList

functionAlgorithm

firstObject

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!