title | nav_order | permalink |
---|---|---|
Arbitrary.ts |
1 |
/arbitrary/ |
FastCheck Arbitrary's derivable from Schemata-ts schemas. Arbitrary's can even generate
pattern
schema thanks to Kuvio.
Arbitrary's require an additional method call arbitrary
which prevents runtime errors
when fast-check isn't present.
Added in v1.0.0
Derive a fast-check arbitrary from a schemata-ts schema
Signature
export declare const deriveArbitrary: Interpreter<SchemableLambda>
Added in v2.0.0
Signature
export interface Arbitrary<A> {
readonly arbitrary: (fc: typeof FastCheck) => FastCheck.Arbitrary<A>
}
Added in v1.0.0
Signature
export declare const URI: 'Arbitrary'
Added in v1.0.0
Signature
export type URI = typeof URI
Added in v1.0.0