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

Method transform

packages/effect/src/Schema.ts:4935–4935  ·  view source on GitHub ↗
(
    to: L2
  )

Source from the content-addressed store, hash-verified

4933 pick<const L2 extends ReadonlyArray<L[number]>>(literals: L2): Literals<L2>
4934
4935 transform<const L2 extends { readonly [I in keyof L]: SchemaAST.LiteralValue }>(
4936 to: L2
4937 ): Union<{ [I in keyof L]: decodeTo<Literal<L2[I]>, Literal<L[I]>> }>
4938}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected