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

Function eitherDecode

packages/effect/src/Schema.ts:7380–7381  ·  view source on GitHub ↗
(input: EitherEncoded<R, L>)

Source from the content-addressed store, hash-verified

7378 })
7379
7380const eitherDecode = <R, L>(input: EitherEncoded<R, L>): either_.Either<R, L> =>
7381 input._tag === "Left" ? either_.left(input.left) : either_.right(input.right)
7382
7383const eitherArbitrary = <R, L>(
7384 right: LazyArbitrary<R>,

Callers 1

EitherFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…