Lodash.findKey

This method is like _.find except that it returns the key of the first element predicate returns truthy for instead of the element itself.

struct Lodash
nothrow @trusted @safe ref
findKey
(
T = Any
)
(
auto ref T predicate = T.init
)

Return Value

Type: auto ref

- Lodash chained on (*): the key of the matched element, else undefined.

Meta