WeakMap

open external class WeakMap<in K : Any, V>(entries: ReadonlyArray<JsTuple2<K, V>>? = definedExternally)(source)

Constructors

Link copied to clipboard
constructor(entries: ReadonlyArray<JsTuple2<K, V>>? = definedExternally)

Functions

Link copied to clipboard
fun delete(key: K): Boolean
Link copied to clipboard
operator fun get(key: K): V?
Link copied to clipboard
fun has(key: K): Boolean
Link copied to clipboard
operator fun set(key: K, value: V): WeakMap<K, V>