跳转到内容
简体中文

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>