Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/zod/types.ts>ZodString#length

TypeScript-first schema validation with static type inference
Very Popular
Go to Latest
method ZodString.prototype.length
import { ZodString } from "https://deno.land/x/zod@v3.23.3/types.ts";

Parameters

len: number
optional
message: errorUtil.ErrMessage