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

x/valibot/src/schemas/picklist/index.ts>picklistAsync

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

Creates an async picklist schema.

Parameters

options: TOptions

The picklist options.

optional
message: ErrorMessage

The error message.

Returns

An async picklist schema.