UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

9 lines 317 B
import type { ISO8601Options } from '../types'; /** * Check if the string is ISO8601 * * @param str - The string to check * @param options - Options object * @returns True if the string matches the validation, false otherwise */ export declare function isISO8601(str: string, options?: ISO8601Options): boolean;