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