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