True if empty
Returns the count of keys.
Adds several values under the same key. Duplicate values are permitted, depending on implementation.
Adds a value, automatically extracting a key via the
groupBy function assigned in the constructor options.
Adds several values
Clears the map
Return number of values stored under key.
Returns 0 if key is not found.
Debug dump of contents
Delete all occurrences of value, regardless of
key it is stored under.
Deletes all values under key that match value.
Key
Value
Iterate over keys and array of values for that key
Iterate over all entries
Returns true if key exists
Returns true if value exists under key.
Key
Value to seek under key
True if value exists under key.
Iterate over all keys
Iterate over keys and length of values stored under keys
Yields the values for each key in sequence, returning an array. Use valuesFlat to iterate over all keys regardless of key.
Simple immutable MapOf