Package: effect
Module: HashMap
Updates the value of the specified key within the HashMap if it exists.
Signature
declare const modify: { <K, V>(key: K, f: (v: V) => V): (self: HashMap<K, V>) => HashMap<K, V>; <K, V>(self: HashMap<K, V>, key: K, f: (v: V) => V): HashMap<K, V>; }
Since v2.0.0