Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/valibot/mod.ts>PicklistSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface PicklistSchema
implements BaseSchema<TOptions[number], TOptions[number], PicklistIssue>
Re-export
import { type PicklistSchema } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

Picklist schema type.

Type Parameters

TOptions extends PicklistOptions
TMessage extends ErrorMessage<PicklistIssue> | undefined

Properties

readonly
type: "picklist"

The schema type.

readonly
reference: picklist

The schema reference.

readonly
options: TOptions

The picklist options.

readonly
message: TMessage

The error message.