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

x/valibot/mod.ts>PicklistSchemaAsync

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

Picklist schema async type.

Type Parameters

TOptions extends PicklistOptions
optional
TOutput = TOptions[number]
definition: BaseSchemaAsync<TOptions[number], TOutput> & { type: "picklist"; options: TOptions; message: ErrorMessage | undefined; }