Lodash.includes

Checks if value is in collection. If collection is a string, it's checked for a substring of value, otherwise SameValueZero is used for equality comparisons. If fromIndex is negative, it's used as the offset from the end of collection.

struct Lodash
nothrow @trusted @safe ref
includes
(
T
U = Any
)
(
auto ref T value
,
auto ref U fromIndex = U.init
)

Return Value

Type: auto ref

- Lodash chained on (boolean): true if value is found, else false.

Meta