Returns a new array containing the leading elements of the provided array that satisfy the provided predicate function. It stops taking elements as soon as an element does not satisfy the predicate.
A new array containing the leading elements that satisfy the predicate.
Alias