W3cubDocs

/Kotlin

addAll

Platform and version requirements:
open fun addAll(elements: Collection<E>): Boolean
Platform and version requirements: JS (1.0), Native (1.0)
open 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.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-abstract-mutable-list/add-all.html