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

Function encodeUnknownSync

packages/effect/src/ParseResult.ts:515–518  ·  view source on GitHub ↗
(
  schema: Schema.Schema<A, I, never>,
  options?: AST.ParseOptions
)

Source from the content-addressed store, hash-verified

513 * @since 3.10.0
514 */
515export const encodeUnknownSync = <A, I>(
516 schema: Schema.Schema<A, I, never>,
517 options?: AST.ParseOptions
518): (u: unknown, overrideOptions?: AST.ParseOptions) => I => getSync(schema.ast, false, options)
519
520/**
521 * @category encoding

Callers

nothing calls this directly

Calls 1

getSyncFunction · 0.85

Tested by

no test coverage detected