Module

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

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

Parameters

maxDate: Date
optional
message: errorUtil.ErrMessage