UNPKG

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