effect-io-ai

Package: effect
Module: TMap

TMap.has

Tests whether or not map contains a key.

Signature

declare const has: { <K>(key: K): <V>(self: TMap<K, V>) => STM.STM<boolean>; <K, V>(self: TMap<K, V>, key: K): STM.STM<boolean>; }

Source

Since v2.0.0