import { union } from "https://deno.land/x/valibot@v0.30.0/mod.ts";
Creates a union schema.
Type Parameters
TOptions extends UnionOptions
Returns
A union schema.
Creates a union schema.
Type Parameters
TOptions extends UnionOptions
Parameters
options: TOptions
The union options.
optional
message: ErrorMessageThe error message.
Returns
A union schema.