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

Function isEmpty

packages/effect/src/internal/hashSet.ts:102–102  ·  view source on GitHub ↗
(self: HashSet<V>)

Source from the content-addressed store, hash-verified

100
101/** @internal */
102export const isEmpty = <V>(self: HashSet<V>): boolean => HashMap.isEmpty(keyMap(self))
103
104// Helper function for building new HashSets from iteration
105const fromPredicate = <V>(self: HashSet<V>, predicate: (value: V) => boolean): HashSet<V> => {

Callers

nothing calls this directly

Calls 2

keyMapFunction · 0.85
isEmptyMethod · 0.65

Tested by

no test coverage detected