ArrayConstructor

external interface ArrayConstructor

Properties

Link copied to clipboard
abstract var prototype: Array<Any>

Functions

Link copied to clipboard
abstract fun <T> from(iterable: ArrayLike<T>): Array<T>
abstract fun <T> from(iterable: Iterable<T>): Array<T>
abstract fun <T, U> from(iterable: ArrayLike<T>, mapfn: (v: T, k: Number) -> U): Array<U>
abstract fun <T, U> from(iterable: Iterable<T>, mapfn: (v: T, k: Number) -> U): Array<U>
abstract fun <T, U> from(iterable: ArrayLike<T>, mapfn: (v: T, k: Number) -> U, thisArg: Any = definedExternally): Array<U>
abstract fun <T, U> from(iterable: Iterable<T>, mapfn: (v: T, k: Number) -> U, thisArg: Any = definedExternally): Array<U>
Link copied to clipboard
abstract operator fun invoke(): Array<Any>
abstract operator fun <T> invoke(vararg items: T): Array<T>
abstract operator fun invoke(arrayLength: Number = definedExternally): Array<Any>
abstract operator fun <T> invoke(arrayLength: Number): Array<T>
Link copied to clipboard
abstract fun isArray(arg: Any): Boolean
Link copied to clipboard
abstract fun <T> of(vararg items: T): Array<T>