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

x/valibot/src/index.ts>IsoDateTimeAction

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

ISO date time action type.

Type Parameters

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

Properties

readonly
type: "iso_date_time"

The action type.

readonly
reference: isoDateTime

The action reference.

readonly
expects: null

The expected property.

readonly
requirement: RegExp

The ISO date time regex.

readonly
message: TMessage

The error message.