Is this map empty?
Returns an array of key-value objects in arbitrary order.
Calls the function for each key and value pair in the map. The 'this' context is the map itself.
Retrieve the value for the given key. Returns undefined if there is no value stored.
Does the map contain the given key?
Returns an array of all keys in arbitrary order.
Remove the value for the given key. Returns true if there was a value and false otherwise.
Set the value for the given key. Returns the new value.
Returns the number of elements stored in the map.
Returns an array of all values in arbitrary order.
Generated using TypeDoc
A shim for ES6 maps. The implementation uses a JavaScript object internally, and thus keys are limited to strings.