class-validator
Version:
Decorator-based property validation for classes.
11 lines (10 loc) • 428 B
TypeScript
import { ValidationOptions } from '../ValidationOptions';
export declare const NOT_EQUALS = "notEquals";
/**
* Checks if value does not match ("!==") the comparison.
*/
export declare function notEquals(value: unknown, comparison: unknown): boolean;
/**
* Checks if value does not match ("!==") the comparison.
*/
export declare function NotEquals(comparison: any, validationOptions?: ValidationOptions): PropertyDecorator;