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

x/valibot/mod.ts>DateSchema

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
interface DateSchema
implements BaseSchema<Date, Date, DateIssue>
import { type DateSchema } from "https://deno.land/x/valibot@v0.35.0/mod.ts";

Date schema type.

Type Parameters

TMessage extends ErrorMessage<DateIssue> | undefined

Properties

readonly
type: "date"

The schema type.

readonly
reference: date

The schema reference.

readonly
expects: "Date"

The expected property.

readonly
message: TMessage

The error message.