UNPKG

@stacksjs/ts-validation

Version:

A simple TypeScript starter kit using Bun.

9 lines 313 B
import type { IsBeforeOptions } from '../types'; /** * Check if the string is Before * * @param date - Options object * @param options - Options object * @returns True if the string matches the validation, false otherwise */ export declare function isBefore(date: string, options: IsBeforeOptions): boolean;