@traversable/schema
    Preparing search index...

    Variable SeedValidDataGeneratorConst

    SeedValidDataGenerator: Arbitrary<
        | [10]
        | [15]
        | [20]
        | [25]
        | [27]
        | [30]
        | [40]
        | [45]
        | [50]
        | [55]
        | [60]
        | [150, Bounds_bigint]
        | [200, Bounds_number]
        | [250, Bounds_string]
        | [500, any]
        | [550, string | number | boolean]
        | [1000, unknown, Bounds_array]
        | [10500, (...args: []) => unknown]
        | [2500, unknown]
        | [2700, unknown]
        | [2000, unknown]
        | [2200, unknown]
        | [7000, unknown]
        | [3500, unknown]
        | [7500, [string, unknown][]]
        | [7600, [string, unknown][]]
        | [7700, [string, unknown][]]
        | [7800, [string, unknown][], unknown]
        | [8000, unknown[]]
        | [8100, unknown[]]
        | [8200, unknown[]]
        | [8300, unknown[], unknown]
        | [8500, unknown[]]
        | [8600, [string, [string, unknown][]][], string]
        | [6000, [[7500, [string, unknown][]], [7500, [string, unknown][]]]]
        | [6500, [unknown, unknown]],
    > = ...

    A seed generator that can be interpreted to produce reliably valid data.

    This was originally developed to test for parity between various schema libraries.

    Note that certain schemas make generating valid data impossible (like v.never v.never). For this reason, those schemas are not seeded.

    To see the list of excluded schemas, see seedsThatPreventGeneratingValidData seedsThatPreventGeneratingValidData.

    See also:

    import * as fc from 'fast-check'
    import * as v from 'valibot'
    import { vxTest } from '@traversable/valibot-test'

    const [seed] = fc.sample(vxTest.SeedValidDataGenerator, 1)
    const ValibotSchema = vxTest.seedToSchema(seed)
    const dataset = fc.sample(vxTest.seedToValidData(seed), 5)

    const results = dataset.map((pt) => ValibotSchema.safeParse(pt).success)

    console.log(results) // => [true, true, true, true, true]