Returns the key of the matched element,
else undefined
.
This method is like find
except that it returns the key of the first
element predicate
returns truthy for instead of the element itself.
The object to inspect.
Optional
predicate: any[]The function invoked per iteration.
Returns the key of the matched element,
else undefined
.
This method is like find
except that it returns the key of the first
element predicate
returns truthy for instead of the element itself.
The object to inspect.
Optional
predicate: stringThe function invoked per iteration.
Returns the key of the matched element,
else undefined
.
This method is like
find
except that it returns the key of the first elementpredicate
returns truthy for instead of the element itself.