Determines whether the collection contains a given item
contains([1, 2, 3], 2); // true
contains([1, 2, 3], 2, 2); // false
Optional
Generated using TypeDoc
Determines whether the collection contains a given item
Example
Example