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

Function return

packages/effect/src/Schema.ts:15798–15805  ·  view source on GitHub ↗
(schema: S)

Source from the content-addressed store, hash-verified

15796 }
15797) {
15798 return (schema: S): overrideToCodecIso<S, Iso> => {
15799 return make(
15800 SchemaAST.annotate(schema.ast, {
15801 toCodecIso: () => new SchemaAST.Link(to.ast, SchemaTransformation.make(transformation))
15802 }),
15803 { schema }
15804 )
15805 }
15806}
15807
15808// -----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 3

makeFunction · 0.70
annotateMethod · 0.65
makeMethod · 0.65

Tested by

no test coverage detected