Returns true if and only if pred(e) is true for any value e in the input range range. Performs (at most) O(haystack.length) evaluations of pred.
See Implementation
Returns true if and only if pred(e) is true for any value e in the input range range. Performs (at most) O(haystack.length) evaluations of pred.