"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.validate = void 0;
const validate = function () {
  let error = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  let valid = true;
  Object.keys(error).forEach(key => {
    if (error[key]) valid = false;
  });
  return valid;
};
exports.validate = validate;
//# sourceMappingURL=validate.js.map