MCPcopy Create free account
hub / github.com/Effect-TS/effect / isEmpty

Function isEmpty

packages/effect/src/MutableHashMap.ts:798–798  ·  view source on GitHub ↗
(self: MutableHashMap<K, V>)

Source from the content-addressed store, hash-verified

796 * @since 2.0.0
797 */
798export const isEmpty = <K, V>(self: MutableHashMap<K, V>): boolean => self.backing.size === 0
799
800/**
801 * Runs a callback for each key-value pair in the `MutableHashMap`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected