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

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

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
interface DateSchema
implements BaseSchema<Date, TOutput>
import { type DateSchema } from "https://deno.land/x/valibot@v0.30.0/src/schemas/date/index.ts";

Date schema type.

Type Parameters

optional
TOutput = Date

Properties

type: "date"

The schema type.

message: ErrorMessage | undefined

The error message.

pipe: Pipe<Date> | undefined

The validation and transformation pipeline.