removeAll

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

Removes all the elements satisfying predicate from the observable list. If the list changes, observers will be notified once.

Return

true if any element was removed

Parameters

predicate

the condition selecting the elements to remove