arrayOfNulls

Common
JVM
JS
1.0
fun < reified T > arrayOfNulls ( size : Int ) : Array < T ? >
(source)
Native
1.3
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.