emptyArray

external fun <T> emptyArray(): Array<T>(source)

Creates an empty array with the requested element type.

val names: Array<String> = emptyArray()

Return

an array with size zero.

Type Parameters

T

type of array elements.