import { enum } from "https://deno.land/x/valibot@v0.41.0/src/schemas/enum/enum.ts";
Parameters
enum__: Enum
optional
message: ErrorMessage<EnumIssue>Returns
EnumSchema<Enum, ErrorMessage<EnumIssue> | undefined>
import { enum } from "https://deno.land/x/valibot@v0.41.0/src/schemas/enum/enum.ts";