Module

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

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

Parameters

maxDate: Date
optional
message: errorUtil.ErrMessage