콘텐츠로 이동
한국어

eitherOf

이 콘텐츠는 아직 번역되지 않았습니다.

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>