Skip to content

encodeEither

encodeEither<A, I>(schema, options?): (a, overrideOptions?) => Either<I, ParseError>

Defined in: node_modules/.pnpm/effect@3.14.8/node_modules/effect/dist/dts/Schema.d.ts:327

Type Parameters

A

I

Parameters

schema

Schema<A, I, never>

options?

ParseOptions

Returns

Function

Parameters

a

A

overrideOptions?

ParseOptions

Returns

Either<I, ParseError>

Since

3.10.0