@stacksjs/ts-validation
Version:
A simple TypeScript starter kit using Bun.
9 lines • 319 B
TypeScript
import type { DateOptions } from '../types';
/**
* Check if the string is Date
*
* @param input - Options object
* @param options - Options object
* @returns True if the string matches the validation, false otherwise
*/
export declare function isDate(input: string | Date, options: string | DateOptions): boolean;