UNPKG

489 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const IS_RFC_3339 = "isRFC3339";
3/**
4 * Check if the string is a valid RFC 3339 date.
5 * If given value is not a string, then it returns false.
6 */
7export declare function isRFC3339(value: unknown): boolean;
8/**
9 * Check if the string is a valid RFC 3339 date.
10 * If given value is not a string, then it returns false.
11 */
12export declare function IsRFC3339(validationOptions?: ValidationOptions): PropertyDecorator;