Option overview

Added in v0.0.2


Table of contents


utils

getNone

Returns an Arbitrary that yelds only nones

Signature

export declare function getNone<A>(): fc.Arbitrary<Option<A>>

Added in v0.0.2

getOption

Returns an Arbitrary that yelds both nones and somes

Signature

export declare function getOption<A>(arb: fc.Arbitrary<A>): fc.Arbitrary<Option<A>>

Added in v0.0.2

getSome

Returns an Arbitrary that yelds only somes

Signature

export declare function getSome<A>(arb: fc.Arbitrary<A>): fc.Arbitrary<Option<A>>

Added in v0.0.2