arrayOfNulls

fun <T> arrayOfNulls(size: Int): Array<T?>(source)

Returns an array of objects of the given type with the given size, initialized with null values.

Since Kotlin

1.1
fun <T> arrayOfNulls(size: Int): Array<T?>(source)

Returns an array of objects of the given type with the given size, initialized with null values.

Since Kotlin

1.0