UNPKG

596 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const ARRAY_CONTAINS = "arrayContains";
3/**
4 * Checks if array contains all values from the given array of values.
5 * If null or undefined is given then this function returns false.
6 */
7export declare function arrayContains(array: unknown, values: any[]): boolean;
8/**
9 * Checks if array contains all values from the given array of values.
10 * If null or undefined is given then this function returns false.
11 */
12export declare function ArrayContains(values: any[], validationOptions?: ValidationOptions): PropertyDecorator;