ee.List.indexOf

Stay organized with collections Save and categorize content based on your preferences.
Returns the position of the first occurrence of target in list, or -1 if list does not contain target.

UsageReturns
List.indexOf(element)Integer
ArgumentTypeDetails
this: listList
elementObject