# ee.List.map

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

<br />

| Usage | Returns |
|---|---|
| `List.map(baseAlgorithm, *dropNulls*)` | List |

| Argument | Type | Details |
|---|---|---|
| this: `list` | List |   |
| `baseAlgorithm` | Algorithm |   |
| `dropNulls` | Boolean, default: false | If true, the mapped algorithm is allowed to return nulls, and the elements for which it returns nulls will be dropped. |