Arbitraryarbitraryarbitrary Callablearbitrary<T>(schema: Pick<Schema<T>, is | schema>): Dependent<T>arbitrary<T>(schema: Node & { infer: T }): Dependent<T>Create an arbitrary from the compiled Therefore schema. Examplerandom(arbitrary(HelloWorld))// => "hello world"Type parametersT = unknownParametersschema: Pick<Schema<T>, is | schema>The schema to generate an arbitrary for.Returns Dependent<T>
Create an arbitrary from the compiled Therefore schema.
Example