import { parseAsync } from "https://deno.land/x/valibot@v0.30.0/mod.ts";
Parses an unknown input based on a schema.
Type Parameters
TSchema extends BaseSchema | BaseSchemaAsync
Parameters
schema: TSchema
The schema to be used.
optional
config: SchemaConfigThe parse configuration.