kotlin-stdlib / kotlin.collections / AbstractMutableSet / retainAll retainAll Common 1.0 open fun retainAll ( elements : Collection < E > ) : Boolean (source)