removeIf

Remove all the elements of this sequence that satisfy the given predicate.

Since

2.7