Module

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

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

Parameters

optional
message: errorUtil.ErrMessage