MCPcopy
hub / github.com/Effect-TS/effect / has

Function has

packages/effect/src/internal/core.ts:671–673  ·  view source on GitHub ↗
(target, p)

Source from the content-addressed store, hash-verified

669 if (Option.isSome(span)) {
670 return new Proxy(obj, {
671 has(target, p) {
672 return p === internalCause.spanSymbol || p === originalSymbol || p in target
673 },
674 get(target, p) {
675 if (p === internalCause.spanSymbol) {
676 return span.value

Callers 7

redBlackTree.tsFile · 0.70
hashSet.tsFile · 0.70
intersectionWithFunction · 0.50
differenceWithFunction · 0.50
SortedSet.tsFile · 0.50
Record.tsFile · 0.50
isSubrecordByFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected