import { enumTypeAsync } from "https://deno.land/x/valibot@v0.5.0/src/schemas/index.ts";
Creates an async enum schema.
Type Parameters
TEnumValue extends EnumValue
Parameters
enumValue: TEnumValue
The enum value.
Returns
An async enum schema.
x/valibot/src/schemas/index.ts>enumTypeAsync
import { enumTypeAsync } from "https://deno.land/x/valibot@v0.5.0/src/schemas/index.ts";
Creates an async enum schema.
The enum value.
An async enum schema.