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

x/valibot/src/actions/isoDate/isoDate.ts>IsoDateAction

The modular and type safe schema library for validating structural data 🤖
Latest
interface IsoDateAction
import { type IsoDateAction } from "https://deno.land/x/valibot@v1.0.0-beta.1-i18n/src/actions/isoDate/isoDate.ts";

ISO date action type.

Type Parameters

TInput extends string
TMessage extends ErrorMessage<IsoDateIssue<TInput>> | undefined

Properties

readonly
type: "iso_date"

The action type.

readonly
reference: isoDate

The action reference.

readonly
expects: null

The expected property.

readonly
requirement: RegExp

The ISO date regex.

readonly
message: TMessage

The error message.