W3cubDocs

/Kotlin

toArray

protected open fun toArray(): Array<Any?>

Overrides AbstractCollection.toArray

Platform and version requirements: JS

Returns new array of type Array<Any?> with the elements of this collection.

© 2010–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-array-list/-array-list/to-array.html