Skip to main content
Module

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

The modular and type safe schema library for validating structural data 🤖
Extremely Popular
Go to Latest
function isoTime
import { isoTime } from "https://deno.land/x/valibot@v0.39.0/src/actions/isoTime/index.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.