eemont.eeList.__contains__
- eemont.eeList.__contains__(self, key)[source]
Returns True if the item is in the list.
- Parameters
self (ee.List) – List to check.
key (item) – Item to check.
- Returns
Whether the item is contained in the list.
- Return type
boolean
Examples
>>> import ee, eemont >>> ee.Authenticate() >>> ee.Initialize() >>> eeList = ee.List([1,2,3,5]) >>> 1 in eeList True >>> 3 in eeList False