import { picklist } from "https://deno.land/x/valibot@v0.35.0/src/index.ts";
Creates a picklist schema.
Type Parameters
TOptions extends PicklistOptions
Parameters
options: TOptions
The picklist options.
Returns
PicklistSchema<TOptions, undefined>
A picklist schema.
Creates a picklist schema.
Type Parameters
TOptions extends PicklistOptions
TMessage extends ErrorMessage<PicklistIssue> | undefined
Returns
A picklist schema.