removeIf

fun removeIf(predicate: (T) -> Boolean)