Skip to main content
Module

x/zod/mod.ts>z.ZodString#max

TypeScript-first schema validation with static type inference
Extremely Popular
Go to Latest
method z.ZodString.prototype.max
import { z } from "https://deno.land/x/zod@v3.18.0/mod.ts";
const { ZodString } = z;

Parameters

maxLength: number
optional
message: errorUtil.ErrMessage