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

x/valibot/src/schemas/variant/index.ts

The modular and type safe schema library for validating structural data 🤖
Go to Latest
import * as valibot from "https://deno.land/x/valibot@v0.24.0/src/schemas/variant/index.ts";

Functions

Creates a variant (aka discriminated union) schema.

Creates an async variant (aka discriminated union) schema.

Type Aliases

Variant option type.

Variant option async type.

Variant options type.

Variant options async type.

Variant schema type.

Variant schema async type.