Is there something like this in the sdlib? ``` ...
# announcements
p
Is there something like this in the sdlib?
Copy code
fun <E> MutableList<E>.removeIf(predicate: (E) -> Boolean) {
        val iterator = iterator()
        while (iterator.hasNext()) {
            if (predicate(iterator.next())) iterator.remove()
        }
    }