new WeakTupleMap(): WeakTupleMap<K, V>Returns:
WeakTupleMap<K, V>clear(): voidReturns:
voidClears the stored value and all strong and weak child maps from this node.
delete(...args?): voidAttributes
args:
KReturns:
voidRemoves the value stored for the tuple key without pruning the trie.
M
get
get(...args?): V | undefinedAttributes
args:
KReturns:
V | undefinedReturns the value stored for the exact tuple key, if any.
M
has
has(...args?): booleanAttributes
args:
KReturns:
booleanChecks whether the exact tuple key has a stored value.
provide(...args?): VAttributes
args:
[K, ...((args: K) => V)[]]Returns:
VReturns an existing value for the tuple or computes, stores, and returns a new one when the tuple is missing.
M
set
set(...args?): voidAttributes
args:
[K, ...V[]]Returns:
voidStores a value at the node identified by the provided tuple key.