effect-io-ai

Package: effect
Module: HashMap

HashMap.set

Sets the specified key to the specified value using the internal hashing function.

Signature

declare const set: { <K, V>(key: K, value: V): (self: HashMap<K, V>) => HashMap<K, V>; <K, V>(self: HashMap<K, V>, key: K, value: V): HashMap<K, V>; }

Source

Since v2.0.0