Finds the first element in an input iterable that satisfies a given async predicate function.
Returns a Promise of the found element or undefined if none is found.
Returns
A function that accepts an input iterable and returns a Promise of the found element or undefined.
Finds the first element in an input iterable that satisfies a given async predicate function. Returns a Promise of the found element or undefined if none is found.
Returns
A function that accepts an input iterable and returns a Promise of the found element or undefined.
Example