"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.hasError = void 0;
var hasError = exports.hasError = function hasError(error) {
  if (error === undefined) {
    return undefined;
  }
  var hasErrorMessage = error.length > 0;
  return hasErrorMessage;
};