function retainAll
source · line 96public
public fun <T : Equals<T>> MutableList<T>.retainAll(elements: Iterable<T>): Boolean
Extension receiver: MutableList<T>
Removes elements not present in the supplied membership collection and reports whether this list changed.
parameter elements
source · line 96public
elements: Iterable<T>
parameter receiver
source · line 96public
MutableList<T>
type parameter T
source · line 96public
T : Equals<T>