kotlin-stdlib / kotlin / emptyArray emptyArray Common JVM 1.0 fun <reified T> emptyArray(): Array<T> JS Native 1.1 fun <T> emptyArray(): Array<T> Returns an empty array of the specified type T.