Returns a collector that returns true if at least one of the entries satisfies the 'predicate' function.
Type of items in the source.
A function that tests each entry for a condition.
Collector that returns true if at least one of the entries satisfies the 'predicate' function.
const result = anyAsync((x) => x > 0)([1, 2, 3]);console.log(result); // true Copy
const result = anyAsync((x) => x > 0)([1, 2, 3]);console.log(result); // true
Returns a collector that returns true if at least one of the entries satisfies the 'predicate' function.