Type Alias ValidationResult

ValidationResult: {
    isDisabled?: boolean;
    isValid: true;
    validationError?: undefined;
} | {
    isDisabled?: false;
    isValid: false;
    validationError: ValidationError;
}

The result of validating a value