UNPKG

fluent-ts-validator

Version:
15 lines (14 loc) 394 B
import { PropertyValidator } from "../PropertyValidator"; /** * Validates if a value does not match ("!==") the comparison. * * @export * @class IsNotEqualValidator * @implements {PropertyValidator<T>} * @template T */ export declare class IsNotEqualValidator<T> implements PropertyValidator<T> { private comparison; constructor(comparison: T); isValid(input: T): boolean; }