find<T>(collection: ArrayLike<T>, predicate?: Partial<T>, fromIndex?: number): T | undefined
find<T>(collection: ArrayLike<T>, predicate?: any, fromIndex?: number): T | undefined
Iterates over elements of collection, returning the first element
predicate returns truthy for. The predicate is invoked with three
arguments: (value, index|key, collection).
Iterates over elements of
collection
, returning the first elementpredicate
returns truthy for. The predicate is invoked with three arguments: (value, index|key, collection).5.2.0