import { getFallbackAsync } from "https://deno.land/x/valibot@v0.30.0/mod.ts";
Returns the fallback value of the schema.
Type Parameters
TSchema extends SchemaWithMaybeFallback | SchemaWithMaybeFallbackAsync
Parameters
schema: TSchema
The schema to get the fallback value from.
optional
info: FallbackInfoThe fallback info.
Returns
Promise<FallbackValue<TSchema>>
The fallback value.