Package kotlin.js.collections
Types
JsArray
Exposes the JavaScript Array to Kotlin.
open class JsArray<E> : JsReadonlyArray<E>
JsMap
Exposes the JavaScript Map to Kotlin.
open class JsMap<K, V> : JsReadonlyMap<K, V>
JsReadonlyArray
Exposes the TypeScript ReadonlyArray to Kotlin.
interface JsReadonlyArray<out E>
JsReadonlyMap
Exposes the TypeScript ReadonlyMap to Kotlin.
interface JsReadonlyMap<K, out V>
JsReadonlySet
Exposes the TypeScript ReadonlySet to Kotlin.
interface JsReadonlySet<out E>
JsSet
Exposes the JavaScript Set to Kotlin.
open class JsSet<E> : JsReadonlySet<E>
Functions
toList
fun <E> JsReadonlyArray<E>.toList(): List<E>
toMap
fun <K, V> JsReadonlyMap<K, V>.toMap(): Map<K, V>
toMutableList
fun <E> JsReadonlyArray<E>.toMutableList(): MutableList<E>
toMutableMap
fun <K, V> JsReadonlyMap<K, V>.toMutableMap(): MutableMap<K, V>
toMutableSet
fun <E> JsReadonlySet<E>.toMutableSet(): MutableSet<E>
toSet
fun <E> JsReadonlySet<E>.toSet(): Set<E>