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

Function decodeUnknownEither

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

Source from the content-addressed store, hash-verified

480 * @since 3.10.0
481 */
482export const decodeUnknownEither = <A, I>(
483 schema: Schema.Schema<A, I, never>,
484 options?: AST.ParseOptions
485): (u: unknown, overrideOptions?: AST.ParseOptions) => Either.Either<A, ParseIssue> =>
486 getEither(schema.ast, true, options)
487
488/**
489 * @category decoding

Callers

nothing calls this directly

Calls 1

getEitherFunction · 0.85

Tested by

no test coverage detected