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

Function get

packages/effect/src/Data.ts:634–641  ·  view source on GitHub ↗
(_target, tag, _receiver)

Source from the content-addressed store, hash-verified

632 {},
633 {
634 get(_target, tag, _receiver) {
635 if (tag === "$is") {
636 return Predicate.isTagged
637 } else if (tag === "$match") {
638 return taggedMatch
639 }
640 return (props: any) => ({ ...props, _tag: tag })
641 }
642 }
643 ) as any
644

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected