import { nativeEnumAsync } from "https://deno.land/x/valibot@v0.5.0/mod.ts";
Creates an async enum schema.
Type Parameters
TNativeEnum extends NativeEnum
Parameters
nativeEnum: TNativeEnum
The native enum value.
Returns
An async enum schema.
x/valibot/mod.ts>nativeEnumAsync
import { nativeEnumAsync } from "https://deno.land/x/valibot@v0.5.0/mod.ts";
Creates an async enum schema.
The native enum value.
An async enum schema.