Package: effect
Module: TMap
Retrieves value associated with given key or default value, in case the key isn’t present.
Signature
declare const getOrElse: { <K, V>(key: K, fallback: LazyArg<V>): (self: TMap<K, V>) => STM.STM<V>; <K, V>(self: TMap<K, V>, key: K, fallback: LazyArg<V>): STM.STM<V>; }
Since v2.0.0