new WeakTupleMap(): WeakTupleMapReturns:
<WeakTupleMap><
<K>
,
<V>
>clear(): voidReturns:
<void>Clears the stored value and all strong and weak child maps from this node.
delete(...args?): voidargs{K}- Returns:
<void>
Removes the value stored for the tuple key without pruning the trie.
M
get
get(...args?): voidargs{K}- Returns:
<V>|<undefined>
Returns the value stored for the exact tuple key, if any.
M
has
has(...args?): voidargs{K}- Returns:
<boolean>
Checks whether the exact tuple key has a stored value.
provide(...args?): voidargs<Tuple><<K>,<unknown>>- Returns: {V}
Returns an existing value for the tuple or computes, stores, and returns a new one when the tuple is missing.
M
set
set(...args?): voidargs<Tuple><<K>,<unknown>>- Returns:
<void>
Stores a value at the node identified by the provided tuple key.