UNPKG

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