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

x/valibot/src/index.ts>isoTimeSecond

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

Creates an ISO time second validation action.

Format: hh:mm:ss

Type Parameters

TInput extends string

Returns

IsoTimeSecondAction<TInput, undefined>

An ISO time second action.

Creates an ISO time second validation action.

Format: hh:mm:ss

Type Parameters

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

Parameters

message: TMessage

The error message.

Returns

IsoTimeSecondAction<TInput, TMessage>

An ISO time second action.