effect-io-ai

Package: effect
Module: MutableHashMap

MutableHashMap.isEmpty

Returns true when the MutableHashMap contains no key-value pairs.

When to use

Use to branch on whether a mutable map currently has any entries.

See

Signature

declare const isEmpty: <K, V>(self: MutableHashMap<K, V>) => boolean

Source

Since v2.0.0