arrayOfNulls (original) (raw)

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

Since Kotlin

1.0

Throws

if the specified size is negative.

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

Since Kotlin

1.1

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

Since Kotlin

1.0

Throws

if the specified size is negative.

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

Since Kotlin

1.3

Throws

if the specified size is negative.

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

Since Kotlin

1.8

Throws

if the specified size is negative.

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

Since Kotlin

1.8

Throws

if the specified size is negative.