effect-io-ai

Package: effect
Module: HashMap

HashMap.mutate

Mutates the HashMap within the context of the provided function.

Signature

declare const mutate: { <K, V>(f: (self: HashMap<K, V>) => void): (self: HashMap<K, V>) => HashMap<K, V>; <K, V>(self: HashMap<K, V>, f: (self: HashMap<K, V>) => void): HashMap<K, V>; }

Source

Since v2.0.0