The input item type.
Input collection, or a promise that resolves to one.
Async predicate to evaluate each item.
Optionaloptions: PartitionOptions<I>Configuration options including cancellation and concurrency.
A cancellable handle resolving to [truthy[], falsy[]].
Splits a collection into two arrays based on an async predicate. Returns a tuple [truthy[], falsy[]] where truthy contains items that passed the predicate and falsy contains items that failed.
The input item type.
Input collection, or a promise that resolves to one.
Async predicate to evaluate each item.
Optionaloptions: PartitionOptions<I>Configuration options including cancellation and concurrency.
A cancellable handle resolving to [truthy[], falsy[]].
Splits a collection into two arrays based on an async predicate. Returns a tuple [truthy[], falsy[]] where truthy contains items that passed the predicate and falsy contains items that failed.