Member of the starry suite—modular functions for iterable objects.
npm install starry.includesMember of the starry suite—modular functions for iterable objects.
 
typescript
function includes(
iterable: Iterable,
value: T
): boolean
`
Returns whether the value can be found in the iterable. Equality is determined using SameValueZero.
Parameters:
* iterable - Iterable
* value - T
Returns: boolean`