import { literalAsync } from "https://deno.land/x/valibot@v0.24.0/src/schemas/literal/index.ts";
Creates an async literal schema.
Type Parameters
TLiteral extends Literal
Parameters
literal: TLiteral
The literal value.
optional
message: ErrorMessage = [UNSUPPORTED]The error message.
Returns
An async literal schema.