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

x/valibot/src/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.30.0/src/index.ts";

Creates an async picklist schema.

Parameters

options: TOptions

The picklist options.

optional
message: ErrorMessage

The error message.

Returns

An async picklist schema.