# ee.List.indexOf

Returns the position of the first occurrence of element in list, or -1 if list does not contain element.

<br />

| Usage | Returns |
|---|---|
| `List.indexOf(element)` | Integer |

| Argument | Type | Details |
|---|---|---|
| this: `list` | List |   |
| `element` | Object |   |