Lodash.find

Iterates over elements of collection, returning the first element predicate returns truthy for. The predicate is invoked with three arguments: (value, index|key, collection).

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

Return Value

Type: auto ref

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

Meta