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

Function isHashSet

packages/effect/src/internal/hashSet.ts:61–61  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

59
60/** @internal */
61export const isHashSet = (u: unknown): u is HashSet<unknown> => hasProperty(u, HashSetTypeId)
62
63/** @internal */
64export const keyMap = <V>(self: HashSet<V>): HashMap.HashMap<V, boolean> => (self as any).keyMap

Callers 1

[Equal.symbol]Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected