ee.List.contains

Returns true if list contains element.
UsageReturns
List.contains(element)Boolean
ArgumentTypeDetails
this: listList
elementObject