Aller au contenu
Français

eitherOf

Ce contenu n’est pas encore disponible dans votre langue.

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>