Returns a new IntList containing all elements except the last elements that satisfy the given predicate.
A IntList with the trailing contiguous elements matching predicate removed.
Function that tests each element for a condition.