fun <reified T> arrayOfNulls(size: Int): Array<T?>
(source)
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.
Exceptions
RuntimeException
- if the specified size is negative.