ee.List.map

Map an algorithm over a list. The algorithm is expected to take an Object and return an Object.

UsageReturns
List.map(baseAlgorithm, dropNulls)List
ArgumentTypeDetails
this: listList

baseAlgorithmAlgorithm

dropNullsBoolean, default: false

If true, the mapped algorithm is allowed to return nulls, and the elements for which it returns nulls will be dropped.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!