import { unionAsync } from "https://deno.land/x/valibot@v0.19.0/src/schemas/index.ts";
Creates an async union schema.
Type Parameters
TUnionOptions extends UnionOptionsAsync
Parameters
union: TUnionOptions
The union schema.
optional
error: ErrorMessageThe error message.
Returns
An async union schema.