import { picklist } from "https://deno.land/x/valibot@v0.28.1/src/schemas/index.ts";
Creates a picklist schema.
Type Parameters
TOptions extends PicklistOptions
Parameters
options: TOptions
The picklist value.
optional
message: ErrorMessageThe error message.
Returns
A picklist schema.