Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

literal

import { literal } from "https://esm.sh/zod@3.25.76/index.d.cts";
const literal: <Value extends Primitive>(value: Value, params?: RawCreateParams) => ZodLiteral<Value>;