import { enumTypeAsync } from "https://deno.land/x/valibot@v0.19.0/src/schemas/index.ts";
Creates an async enum schema.
Parameters
enumValue: TEnum
The enum value.
optional
error: ErrorMessageThe error message.
Returns
An async enum schema.
import { enumTypeAsync } from "https://deno.land/x/valibot@v0.19.0/src/schemas/index.ts";
Creates an async enum schema.
The enum value.
The error message.
An async enum schema.