Either overview
Added in v0.0.2
Table of contents
utils
getEither
Returns an Arbitrary
that yelds both left
s and right
s
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 left
s
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 right
s
Signature
export declare function getRight<L, A>(arb: fc.Arbitrary<A>): fc.Arbitrary<Either<L, A>>
Added in v0.0.2