MCPcopy Index your code
hub / github.com/Effect-TS/effect / add

Function add

packages/effect/src/internal/matcher.ts:33–38  ·  view source on GitHub ↗
(
    this: TypeMatcher<any, any, any, any>,
    _case: Case
  )

Source from the content-addressed store, hash-verified

31 },
32 _tag: "TypeMatcher",
33 add<I, R, RA, A>(
34 this: TypeMatcher<any, any, any, any>,
35 _case: Case
36 ): TypeMatcher<I, R, RA, A> {
37 return makeTypeMatcher([...this.cases, _case])
38 },
39 pipe() {
40 return pipeArguments(this, arguments)
41 }

Callers 6

fromIterableFunction · 0.70
makeFunction · 0.70
hashSet.tsFile · 0.70
dateTime.tsFile · 0.70
SortedSet.tsFile · 0.50
tSet.tsFile · 0.50

Calls 4

makeTypeMatcherFunction · 0.85
makeValueMatcherFunction · 0.85
guardMethod · 0.65
evaluateMethod · 0.65

Tested by

no test coverage detected