import { fallback } from "https://deno.land/x/valibot@v0.30.0/src/methods/fallback/fallback.ts";
Returns a fallback output value when validating the passed schema failed.
Type Parameters
TSchema extends BaseSchema
Returns
The passed schema.
x/valibot/src/methods/fallback/fallback.ts>fallback
import { fallback } from "https://deno.land/x/valibot@v0.30.0/src/methods/fallback/fallback.ts";
Returns a fallback output value when validating the passed schema failed.
The passed schema.