import { enum } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/index.ts";
Parameters
enum__: Enum
optional
message: ErrorMessage<EnumIssue>Returns
EnumSchema<Enum, ErrorMessage<EnumIssue> | undefined>
import { enum } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/index.ts";