UNPKG

fluent-ts-validator

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