import { safeParse } from "https://deno.land/x/valibot@v0.30.0/src/methods/safeParse/index.ts";
Parses an unknown input based on a schema.
Type Parameters
TSchema extends BaseSchema
Parameters
schema: TSchema
The schema to be used.
optional
config: SchemaConfigThe parse configuration.
Returns
The parsed output.