contains method

contains(value)

Determines whether the collection contains the specified value.

contains(value: string)
ParameterTypeDescription
valuestringCase-sensitive value to locate.

Returns

true if the item is found in the collection; otherwise, false.

See Also