Returns a new IntList containing the first elements that satisfy the given predicate.
A IntList containing the initial contiguous elements matching predicate.
Function that tests each element for a condition.