Map

external interface Map<K, V>

Properties

Link copied to clipboard
abstract var size: Number

Functions

Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract fun delete(key: K): Boolean
Link copied to clipboard
abstract fun entries(): IterableIterator<dynamic>
Link copied to clipboard
abstract fun forEach(callbackfn: (value: V, key: K, map: Map<K, V>) -> Unit, thisArg: Any = definedExternally)
Link copied to clipboard
abstract fun get(key: K): V?
Link copied to clipboard
abstract fun has(key: K): Boolean
Link copied to clipboard
abstract fun keys(): IterableIterator<K>
Link copied to clipboard
abstract fun set(key: K, value: V): Map<K, V>
Link copied to clipboard
abstract fun values(): IterableIterator<V>