UNPKG

@yoroi/common

Version:

The Common package of Yoroi SDK

10 lines 289 B
import { Either } from '@yoroi/types'; export declare function isLeft<E, T>(either: Either<E, T>): either is { tag: 'left'; error: E; }; export declare function isRight<E, T>(either: Either<E, T>): either is { tag: 'right'; value: T; }; //# sourceMappingURL=monads.d.ts.map