Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/schemas/index.ts>UnionSchemaAsync

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
type alias UnionSchemaAsync
Re-export
import { type UnionSchemaAsync } from "https://deno.land/x/valibot@v0.28.1/src/schemas/index.ts";

Union schema async type.

Type Parameters

TOptions extends UnionOptionsAsync
optional
TOutput = Output<TOptions[number]>
definition: BaseSchemaAsync<Input<TOptions[number]>, TOutput> & { type: "union"; options: TOptions; message: ErrorMessage | undefined; pipe: PipeAsync<Input<TOptions[number]>> | undefined; }