// #region Imports
// #endregion
/**
 * Validator that requires the control's value to be *not* equal to another control's value.
 *
 * State:
 * * badInput
 *
 * @public
 * @param element - The element to validate.
 * @param other - The other element to compare the value to.
 * @returns null if the validation check passes, otherwise an object containing information.
 */
export function notEqualsToValidator(element, other) {
    return element.value === null || other.value === null || element.value !== other.value
        ? null
        : { badInput: true };
}
//# sourceMappingURL=NotEqualsToElementValidatorFn.js.map