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

Function value

packages/effect/src/internal/matcher.ts:195–197  ·  view source on GitHub ↗
(
  i: I
)

Source from the content-addressed store, hash-verified

193
194/** @internal */
195export const value = <const I>(
196 i: I
197): Matcher<I, Types.Without<never>, I, never, I> => makeValueMatcher(i, Result.fail(i))
198
199/** @internal */
200export const valueTags: {

Callers

nothing calls this directly

Calls 2

makeValueMatcherFunction · 0.85
failMethod · 0.45

Tested by

no test coverage detected