import { getFallback } from "https://deno.land/x/valibot@v0.28.1/src/methods/getFallback/index.ts";
Returns the fallback value of the schema.
Type Parameters
TSchema extends SchemaWithMaybeFallback
Parameters
schema: TSchema
The schema to get the fallback value from.
optional
info: FallbackInfoThe fallback info.
Returns
The fallback value.