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