Lodash.indexOf

Gets the index at which the first occurrence of value is found in array using SameValueZero for equality comparisons. If fromIndex is negative, it's used as the offset from the end of array.

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

Return Value

Type: auto ref

- Lodash chained on (number): the index of the matched value, else -1.

Meta