UNPKG

611 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const ARRAY_MIN_SIZE = "arrayMinSize";
3/**
4 * Checks if the array's length is greater than or equal to the specified number.
5 * If null or undefined is given then this function returns false.
6 */
7export declare function arrayMinSize(array: unknown, min: number): boolean;
8/**
9 * Checks if the array's length is greater than or equal to the specified number.
10 * If null or undefined is given then this function returns false.
11 */
12export declare function ArrayMinSize(min: number, validationOptions?: ValidationOptions): PropertyDecorator;