Zum Inhalt springen

eitherOf

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

eitherOf<R>(compute): Either<Error, R>

Defined in: src/util/Either.ts:145

Convert a thunk into Either<Error, R> — Right on return, Left with the thrown value (coerced to Error) on throw.

R

() => R

Either<Error, R>