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

Function has

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

Source from the content-addressed store, hash-verified

82
83/** @internal */
84export const has = <V>(self: HashSet<V>, value: V): boolean => HashMap.has(keyMap(self), value)
85
86/** @internal */
87export const add = <V>(self: HashSet<V>, value: V): HashSet<V> => {

Callers 5

hashMap.tsFile · 0.70
[Equal.symbol]Function · 0.70
intersectionFunction · 0.70
differenceFunction · 0.70
isSubsetFunction · 0.70

Calls 2

keyMapFunction · 0.85
hasMethod · 0.45

Tested by

no test coverage detected