arrayOfNulls

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

Creates an array of the requested size with every element set to null.

Return

a new array of size null elements.

Parameters

size

the number of elements.

Type Parameters

T

the element type whose nullable form is used by the result.

Throws