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

Function encodeUnknownEither

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

Source from the content-addressed store, hash-verified

531 * @since 3.10.0
532 */
533export const encodeUnknownEither = <A, I>(
534 schema: Schema.Schema<A, I, never>,
535 options?: AST.ParseOptions
536): (u: unknown, overrideOptions?: AST.ParseOptions) => Either.Either<I, ParseIssue> =>
537 getEither(schema.ast, false, options)
538
539/**
540 * @category encoding

Callers

nothing calls this directly

Calls 1

getEitherFunction · 0.85

Tested by

no test coverage detected