Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_books/deps.ts>z.ZodDate

Access OpenLibrary's API with Deno.
Go to Latest
class z.ZodDate
extends ZodType<Date, ZodDateDef>
import { z } from "https://deno.land/x/deno_books@v1.1.0/deps.ts";
const { ZodDate } = z;

Properties

readonly
maxDate
readonly
minDate

Methods

_addCheck(check: ZodDateCheck)
_parse(input: ParseInput): ParseReturnType<this["_output"]>
max(maxDate: Date, message?: errorUtil.ErrMessage)
min(minDate: Date, message?: errorUtil.ErrMessage)

Static Properties

create: (params?: RawCreateParams & { coerce?: boolean; }) => ZodDate