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