import { nativeEnum } from "https://deno.land/x/valibot@v0.8.0/src/schemas/nativeEnum/index.ts";
Creates a enum schema.
Type Parameters
TNativeEnum extends NativeEnum
Parameters
nativeEnum: TNativeEnum
The native enum value.
Returns
A enum schema.