@traversable/schema
    Preparing search index...

    Variable seedToValidDataConst

    seedToValidData: <T>(
        ...a: [seed: Seed.Seed.F<T>, options?: Options<never>],
    ) => unknown = ...

    Given a seed, generates an single example of valid data.

    Valid in this context means that it will always satisfy the zod schema that the seed produces.

    To use it, you'll need to have fast-check installed.

    To convert a seed to a zod schema, use seedToSchema.

    To convert a seed to a single example of invalid data, use seedToInvalidData.

    Type declaration

      • <T>(...a: [seed: Seed.Seed.F<T>, options?: Options<never>]): unknown
      • Type Parameters

        • T

        Parameters

        • ...a: [seed: Seed.Seed.F<T>, options?: Options<never>]

        Returns unknown