The collection to inspect.
function invoked per iteration.
Optional
fromIndex: numberThe index to search from.
Returns the first matched element, else undefined
.
Optional
fromIndex: numberOptional
fromIndex: numberOptional
fromIndex: number
Iterates over elements of
collection
, returning the first elementpredicate
returns truthy for. The predicate is invoked with three arguments: (value, index|key, collection).Since
5.2.0
Example