Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valibot/src/schemas/index.ts>DateSchema

The modular and type safe schema library for validating structural data 🤖
Latest
interface DateSchema
implements BaseSchema<Date, Date, DateIssue>
import { type DateSchema } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/schemas/index.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.