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

Function leftEncoded

packages/effect/src/Schema.ts:7366–7370  ·  view source on GitHub ↗
(left: Left)

Source from the content-addressed store, hash-verified

7364 }).annotations({ description: `RightEncoded<${format(right)}>` })
7365
7366const leftEncoded = <Left extends Schema.All>(left: Left) =>
7367 Struct({
7368 _tag: Literal("Left"),
7369 left
7370 }).annotations({ description: `LeftEncoded<${format(left)}>` })
7371
7372const eitherEncoded = <Right extends Schema.All, Left extends Schema.All>(
7373 right: Right,

Callers 2

eitherEncodedFunction · 0.85
EitherFromUnionFunction · 0.85

Calls 4

StructFunction · 0.70
LiteralFunction · 0.70
formatFunction · 0.70
annotationsMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…