fluent-ts-validator
Version:
A fluent validator written in TypeScript
14 lines (13 loc) • 436 B
TypeScript
import { PropertyValidator } from "../PropertyValidator";
/**
* Validates if given number is less than or equal to the threshold value.
*
* @export
* @class IsLessThanOrEqualToValidator
* @implements {PropertyValidator<number>}
*/
export declare class IsLessThanOrEqualToValidator implements PropertyValidator<number> {
private threshold;
constructor(threshold: number);
isValid(input: number | undefined): boolean;
}