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 🤖
Extremely Popular
Go to Latest
import * as valibot from "https://deno.land/x/valibot@v0.30.0/src/schemas/variant/index.ts";

Functions

Creates a variant (aka discriminated union) schema.

Creates an async variant (aka discriminated union) schema.

Interfaces

Variant schema type.

Variant schema async type.

Type Aliases

Variant option type.

Variant option async type.

Variant options type.

Variant options async type.