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

x/valibot/src/actions/isoTime/isoTime.ts>isoTime

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Latest
function isoTime
import { isoTime } from "https://deno.land/x/valibot@v1.0.0-beta.2-to-json-schema/src/actions/isoTime/isoTime.ts";

Creates an ISO time validation action.

Format: hh:mm

Type Parameters

TInput extends string

Returns

IsoTimeAction<TInput, undefined>

An ISO time action.

Creates an ISO time validation action.

Format: hh:mm

Type Parameters

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

Parameters

message: TMessage

The error message.

Returns

An ISO time action.