1 | import { ValidationOptions } from '../ValidationOptions';
|
2 | export declare const CONTAINS = "contains";
|
3 | /**
|
4 | * Checks if the string contains the seed.
|
5 | * If given value is not a string, then it returns false.
|
6 | */
|
7 | export declare function contains(value: unknown, seed: string): boolean;
|
8 | /**
|
9 | * Checks if the string contains the seed.
|
10 | * If given value is not a string, then it returns false.
|
11 | */
|
12 | export declare function Contains(seed: string, validationOptions?: ValidationOptions): PropertyDecorator;
|