UNPKG

fluent-ts-validator

Version:
14 lines (13 loc) 402 B
import { PropertyValidator } from "../PropertyValidator"; /** * Validates if given date is same as or before than specified date. * * @export * @class IsSameOrBeforeValidator * @implements {PropertyValidator<Date>} */ export declare class IsSameOrBeforeValidator implements PropertyValidator<Date> { private date; constructor(date: Date); isValid(input: Date | undefined): boolean; }