@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 ArkType schema that the seed produces.

    To convert a seed to a ArkType schema, use arkTest.seedToSchema.

    To convert a seed to a single example of invalid data, use arkTest.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