UNPKG

445 BTypeScriptView Raw
1import { ValidationOptions } from '../ValidationOptions';
2export declare const IS_NOT_IN = "isNotIn";
3/**
4 * Checks if given value not in a array of allowed values.
5 */
6export declare function isNotIn(value: unknown, possibleValues: readonly unknown[]): boolean;
7/**
8 * Checks if given value not in a array of allowed values.
9 */
10export declare function IsNotIn(values: readonly any[], validationOptions?: ValidationOptions): PropertyDecorator;