arrayOf

Common
JVM
Native
1.0
fun <reified T> arrayOf(vararg elements: T): Array<T>
JS
1.1
fun <T> arrayOf(vararg elements: T): Array<T>

Returns an array containing the specified elements.