Returns true if at least one element in the iterable satisfies the predicate.
The type of elements in the iterable
Function to test each element with its index
True if any element passes the predicate test, false otherwise
G.pipe( [1, 2, 3, 4, 5], G.some(x => x > 3)) // trueG.pipe( [1, 2, 3], G.some(x => x > 5)) // false Copy
G.pipe( [1, 2, 3, 4, 5], G.some(x => x > 3)) // trueG.pipe( [1, 2, 3], G.some(x => x > 5)) // false
Returns true if at least one element in the iterable satisfies the predicate.