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

Function decodeUnknownSync

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

Source from the content-addressed store, hash-verified

462 * @since 3.10.0
463 */
464export const decodeUnknownSync = <A, I>(
465 schema: Schema.Schema<A, I, never>,
466 options?: AST.ParseOptions
467): (u: unknown, overrideOptions?: AST.ParseOptions) => A => getSync(schema.ast, true, options)
468
469/**
470 * @category decoding

Callers 1

extend.test.tsFile · 0.85

Calls 1

getSyncFunction · 0.85

Tested by

no test coverage detected