MCPcopy Create free account
hub / github.com/effect-app/libs / decode

Function decode

repos/effect/packages/effect/src/Schema.ts:5475–5482  ·  view source on GitHub ↗
(transformation: {
  readonly decode: SchemaGetter.Getter<S["Type"], S["Type"], RD>
  readonly encode: SchemaGetter.Getter<S["Type"], S["Type"], RE>
})

Source from the content-addressed store, hash-verified

5473 * @since 4.0.0
5474 */
5475export interface decodeTo<To extends Constraint, From extends Constraint, RD = never, RE = never> extends
5476 BottomLazy<
5477 To["ast"],
5478 decodeTo<To, From, RD, RE>,
5479 To["~type.parameters"],
5480 To["~type.mutability"],
5481 To["~type.optionality"],
5482 To["~type.constructor.default"],
5483 From["~encoded.mutability"],
5484 From["~encoded.optionality"]
5485 >

Callers

nothing calls this directly

Calls 2

toTypeInterface · 0.85
decodeToFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…