fluent-ts-validator
Version:
A fluent validator written in TypeScript
12 lines (11 loc) • 332 B
TypeScript
import { PropertyValidator } from "../PropertyValidator";
/**
* Validates if given number is less than zero.
*
* @export
* @class IsNegativeValidator
* @implements {PropertyValidator<number>}
*/
export declare class IsNegativeValidator implements PropertyValidator<number> {
isValid(input: number | undefined): boolean;
}