toArray

Platform and version requirements: JS (1.1)
protected open fun <T> toArray(array: Array<T>): Array<T>
Platform and version requirements: Native (1.3)
protected fun <T> toArray(destination: Array<T>): Array<T>
Platform and version requirements: JS (1.1)
protected open fun toArray(): Array<Any?>
Platform and version requirements: Native (1.3)
protected fun toArray(): Array<Any?>

© 2010–2021 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/-array-list/to-array.html