Takes leading elements as long as predicate returns truthy, stopping at the
first falsy result. Preserves the input container type.
Async predicate or AsyncIterable input wraps the result in a Promise
(or AsyncIterable for AsyncIterable input).
Takes leading elements as long as predicate returns truthy, stopping at the
first falsy result. Preserves the input container type.
Async predicate or AsyncIterable input wraps the result in a Promise
(or AsyncIterable for AsyncIterable input).
Takes leading elements as long as predicate returns truthy, stopping at the
first falsy result. Preserves the input container type.
Async predicate or AsyncIterable input wraps the result in a Promise
(or AsyncIterable for AsyncIterable input).
Takes leading elements as long as predicate returns truthy, stopping at the
first falsy result. Preserves the input container type.
Async predicate or AsyncIterable input wraps the result in a Promise
(or AsyncIterable for AsyncIterable input).
Takes leading elements as long as predicate returns truthy, stopping at the
first falsy result. Preserves the input container type.
Async predicate or AsyncIterable input wraps the result in a Promise
(or AsyncIterable for AsyncIterable input).
Takes leading elements as long as
predicatereturns truthy, stopping at the first falsy result. Preserves the input container type.Async predicate or
AsyncIterableinput wraps the result in aPromise(orAsyncIterableforAsyncIterableinput).