Tests if some element in the input iterable satisfies the given predicate.
Returns a Promise resolving to true if at least one element in the input iterable passes the predicate check.
Returns
A function that accepts an input iterable and returns a Promise resolving to true if at least one element passes the predicate check, otherwise false.
Tests if some element in the input iterable satisfies the given predicate. Returns a Promise resolving to true if at least one element in the input iterable passes the predicate check.
Returns
A function that accepts an input iterable and returns a Promise resolving to true if at least one element passes the predicate check, otherwise false.
Example