toCharArray

Common
JVM
JS
Native
1.0
fun Array<out Char>.toCharArray(): CharArray

Returns an array of Char containing all of the elements of this generic array.

Common
JVM
JS
Native
1.0
fun Collection<Char>.toCharArray(): CharArray

Returns an array of Char containing all of the elements of this collection.