import { variant } from "https://deno.land/x/valibot@v0.28.1/src/schemas/variant/variant.ts";
Creates a variant (aka discriminated union) schema.
Type Parameters
TOptions extends VariantOptions<TKey>
Returns
A variant schema.
Creates a variant (aka discriminated union) schema.
Type Parameters
TOptions extends VariantOptions<TKey>
Returns
A variant schema.