UNPKG

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