retainAll abstract method

bool retainAll(
  1. KtIterable<T> elements
)

Retains only the elements in this collection that are contained in the specified collection.

@return true if any element was removed from the collection, false if the collection was not modified.

Implementation

bool retainAll(KtIterable<T> elements);