Either overview

Added in v0.0.10


Table of contents


models

Either (type alias)

Signature

export type Either<A> = E.Either<Error, A>

Added in v0.0.10

utils

fromValidation

Signature

export declare const fromValidation: <A>(ma: E.Either<Errors, A>) => E.Either<Error, A>

Added in v0.0.10

tryCatch

Signature

export declare const tryCatch: <A>(f: LazyArg<A>) => E.Either<Error, A>

Added in v0.0.10