addAll

abstract override fun addAll(elements: Collection<E>): Boolean(source)

Adds all of the elements of the specified collection to this collection.

Since Kotlin

1.0

Return

true if any of the specified elements was added to the collection, false if the collection was not modified.