Tests if some element in the input sync iterable satisfies the given predicate.
Returns true if at least one element in the input sync iterable passes the predicate check.
Returns
A function that accepts an input sync iterable and returns true if at least one element passes the predicate check, otherwise false.
Tests if some element in the input sync iterable satisfies the given predicate. Returns true if at least one element in the input sync iterable passes the predicate check.
Returns
A function that accepts an input sync iterable and returns true if at least one element passes the predicate check, otherwise false.
Example
Remarks
Available as
some
when imported frompeter-piper/sync
.