Returns true if the map is empty
Returns the number of values stored under key, or 0 if key is not present.
key
Key
Iterates over key-value pairs. Unlike a normal map, the same key may appear several times.
Finds the first key where value is stored. Note: value could be stored in multiple keys
Value to seek
Optional
Key, or undefined if value not found
Iterates over all values stored under key
Returns true if key has any values
Returns true if value is stored under key.
value
Value
Iterates over all keys
Iteates over all keys and the count of values therein
Iterates over all values, regardless of key. Same value may re-appear if it's stored under different keys.
Returns true if the map is empty