Removes the specified key and its associated value from the map.
If the key exists in the map, the entry is removed and the method returns true.
Otherwise, no change is made and false is returned.
The key of the entry to delete.
true if the entry existed and was removed, or false if the key was not found.
Iterates entries while allowing dynamic expansion.
Provides a breadth-first iterator over all entries in the collection, including new items added during the iteration itself. This allows your logic to traverse all known items and process new ones as they are introduced dynamically.
Unlike standard .entries() iteration, which operates over a fixed snapshot of the data,
expandingEntries() reflects live state. As entries are added, they are queued and
subsequently included in the iteration.
The mutating iterator.
Serialize the map to a plain JSON object keyed by entry key. Each value is
serialized via its own toJSON if present, otherwise via
defaultToJSON; values that serialize to undefined are omitted.
A JSON-safe object representation of the map.
StaticfromBuild a SohlMap from a plain object, using each value's fromData if it
provides one, otherwise reviving it via defaultFromJSON.
Plain object whose entries become map entries.
A new SohlMap keyed by the object's own keys.
SohlMap - An extension of Map that returns Itr instances for iterator methods and provides functional transformations with change tracking.