fluent-ts-validator
Version:
A fluent validator written in TypeScript
14 lines (13 loc) • 374 B
TypeScript
import { PropertyValidator } from "../PropertyValidator";
/**
* Validates if given date is before specified date.
*
* @export
* @class IsBeforeValidator
* @implements {PropertyValidator<Date>}
*/
export declare class IsBeforeValidator implements PropertyValidator<Date> {
private date;
constructor(date: Date);
isValid(input: Date | undefined): boolean;
}