addAll

expect open override fun addAll(elements: Collection<E>): Boolean
expect open override fun addAll(index: Int, elements: Collection<E>): Boolean
actual open override fun addAll(index: Int, elements: Collection<E>): Boolean

Inserts all of the elements of the specified collection elements into this list at the specified index.

Return

true if the list was changed as the result of the operation.

actual open override fun addAll(index: Int, elements: Collection<E>): Boolean

Inserts all of the elements of the specified collection elements into this list at the specified index.

Return

true if the list was changed as the result of the operation.