1 | import { ValidationOptions } from '../ValidationOptions';
|
2 | export declare const ARRAY_MAX_SIZE = "arrayMaxSize";
|
3 | /**
|
4 | * Checks if the array's length is less or equal to the specified number.
|
5 | * If null or undefined is given then this function returns false.
|
6 | */
|
7 | export declare function arrayMaxSize(array: unknown, max: number): boolean;
|
8 | /**
|
9 | * Checks if the array's length is less or equal to the specified number.
|
10 | * If null or undefined is given then this function returns false.
|
11 | */
|
12 | export declare function ArrayMaxSize(max: number, validationOptions?: ValidationOptions): PropertyDecorator;
|