"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _reduce = _interopRequireDefault(require("lodash/reduce"));

var _default = function _default(obj, func) {
  return (0, _reduce.default)(obj, function (memo, val, key) {
    var output = memo;
    output[key] = func(val);
    return output;
  }, {});
};

exports.default = _default;