Either overview
Added in v0.0.2
Table of contents
utils
getEither
Returns an Arbitrary that yelds both lefts and rights
Signature
export declare function getEither<L, A>(leftArb: fc.Arbitrary<L>, rightArb: fc.Arbitrary<A>): fc.Arbitrary<Either<L, A>>
Added in v0.0.2
getLeft
Returns an Arbitrary that yelds only lefts
Signature
export declare function getLeft<L, A>(arb: fc.Arbitrary<L>): fc.Arbitrary<Either<L, A>>
Added in v0.0.2
getRight
Returns an Arbitrary that yelds only rights
Signature
export declare function getRight<L, A>(arb: fc.Arbitrary<A>): fc.Arbitrary<Either<L, A>>
Added in v0.0.2