toArray

open fun <T> toArray(array: Array<T>): Array<T>(source)
open fun toArray(): Array<Any?>(source)

Since Kotlin

1.4