MCPcopy Create free account
hub / github.com/effect-app/libs / fromHashMap

Function fromHashMap

repos/effect/packages/effect/src/MutableHashSet.ts:116–120  ·  view source on GitHub ↗
(keyMap: MutableHashMap.MutableHashMap<V, boolean>)

Source from the content-addressed store, hash-verified

114const fromHashMap = <V>(keyMap: MutableHashMap.MutableHashMap<V, boolean>): MutableHashSet<V> => {
115 const set = Object.create(MutableHashSetProto)
116 set.keyMap = keyMap
117 return set
118}
119
120/**
121 * Creates an empty MutableHashSet.
122 *
123 * **When to use**

Callers 4

TxHashMap.tsFile · 0.85
compactFunction · 0.85
emptyFunction · 0.85
fromIterableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…