kotlin-stdlib / kotlin.collections / ArrayDeque / retainAll retainAll Common JVM JS Native 1.0 fun retainAll ( elements : Collection < E > ) : Boolean (source)