UNPKG

404 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const IS_NEGATIVE = "isNegative";
3/**
4 * Checks if the value is a negative number smaller than zero.
5 */
6export declare function isNegative(value: unknown): boolean;
7/**
8 * Checks if the value is a negative number smaller than zero.
9 */
10export declare function IsNegative(validationOptions?: ValidationOptions): PropertyDecorator;