Appearance
function emptyArray<T>(): T[]
Returns an empty array of the specified type T.
T
import { emptyArray } from 'kotlinic' const array = emptyArray<number>() console.log(array.length) // 0