1 | import { ValidationOptions } from '../ValidationOptions';
|
2 | export declare const IS_DIVISIBLE_BY = "isDivisibleBy";
|
3 | /**
|
4 | * Checks if value is a number that's divisible by another.
|
5 | */
|
6 | export declare function isDivisibleBy(value: unknown, num: number): boolean;
|
7 | /**
|
8 | * Checks if value is a number that's divisible by another.
|
9 | */
|
10 | export declare function IsDivisibleBy(num: number, validationOptions?: ValidationOptions): PropertyDecorator;
|