Returns true if and only if needle can be found in range. Performs O(haystack.length) evaluations of pred.
See Implementation
Returns true if and only if needle can be found in range. Performs O(haystack.length) evaluations of pred.