This method is like _.find except that it returns the index of the first element predicate returns truthy for instead of the element itself.
The array to search.
Optional
The function invoked per iteration.
The index to search from.
Returns the index of the found element, else -1.
This method is like _.find except that it returns the index of the first element predicate returns truthy for instead of the element itself.