effect-io-ai

Package: effect
Module: Schema

Schema.LazyArbitrary

A thunk that, given the fast-check module, returns an Arbitrary<T>. Use this type when you need to defer instantiation of the arbitrary, for example to support recursive schemas.

Signature

type LazyArbitrary<T> = (fc: typeof FastCheck) => FastCheck.Arbitrary<T>

Source

Since v4.0.0