import { enumType } from "https://deno.land/x/valibot@v0.11.1/src/schemas/enumType/enumType.ts";
Creates a enum schema.
Parameters
enumValue: TEnum
The enum value.
Returns
A enum schema.
x/valibot/src/schemas/enumType/enumType.ts>enumType
import { enumType } from "https://deno.land/x/valibot@v0.11.1/src/schemas/enumType/enumType.ts";
Creates a enum schema.
The enum value.
A enum schema.