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.0
inline 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.3