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

File matcher.ts

packages/effect/src/internal/matcher.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { dual, identity } from "../Function.ts"
2import type { Case, Matcher, Not, SafeRefinement, TypeMatcher, Types, ValueMatcher, When } from "../Match.ts"
3import * as Option from "../Option.ts"
4import { pipeArguments } from "../Pipeable.ts"

Callers

nothing calls this directly

Calls 11

makeTypeMatcherFunction · 0.85
discriminatorFunction · 0.85
discriminatorStartsWithFunction · 0.85
discriminatorsFunction · 0.85
discriminatorsExhaustiveFunction · 0.85
guardMethod · 0.65
evaluateMethod · 0.65
matchFunction · 0.50
resultFunction · 0.50
succeedMethod · 0.45
failMethod · 0.45

Tested by

no test coverage detected