UNPKG

fluent-ts-validator

Version:
14 lines (13 loc) 406 B
import { PropertyValidator } from "../PropertyValidator"; /** * Validates if given number is less than the threshold value. * * @export * @class IsLessThanValidator * @implements {PropertyValidator<number>} */ export declare class IsLessThanValidator implements PropertyValidator<number> { private threshold; constructor(threshold: number); isValid(input: number | undefined): boolean; }