Returns the first element matching the predicate, or undefined if none match.
Returns Promise when input is an AsyncIterable or the predicate returns a Promise.
Sequential evaluation with short-circuit when the predicate is async.
Returns the first element matching the predicate, or undefined if none match.
Returns Promise when input is an AsyncIterable or the predicate returns a Promise.
Sequential evaluation with short-circuit when the predicate is async.
Returns the first element matching the predicate, or undefined if none match.
Returns Promise when input is an AsyncIterable or the predicate returns a Promise.
Sequential evaluation with short-circuit when the predicate is async.
Returns the first element matching the predicate, or undefined if none match.
Returns Promise when input is an AsyncIterable or the predicate returns a Promise.
Sequential evaluation with short-circuit when the predicate is async.
Returns the first element matching the predicate, or undefined if none match.
Returns Promise when input is an AsyncIterable or the predicate returns a Promise.
Sequential evaluation with short-circuit when the predicate is async.
Returns the first element matching the predicate, or undefined if none match.
Returns Promise when input is an AsyncIterable or the predicate returns a Promise.
Sequential evaluation with short-circuit when the predicate is async.
Returns the first element matching the predicate, or undefined if none match.
Returns Promise when input is an AsyncIterable or the predicate returns a Promise.
Sequential evaluation with short-circuit when the predicate is async.
Returns the first element matching the predicate, or undefined if none match.
Returns Promise when input is an AsyncIterable or the predicate returns a Promise.
Sequential evaluation with short-circuit when the predicate is async.
Returns the first element matching the predicate, or undefined if none match.
Returns Promise when input is an AsyncIterable or the predicate returns a Promise.
Sequential evaluation with short-circuit when the predicate is async.
Returns the first element matching the predicate, or
undefinedif none match.Returns
Promisewhen input is anAsyncIterableor the predicate returns aPromise. Sequential evaluation with short-circuit when the predicate is async.