"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const _baseAssignValue = require("./_baseAssignValue2.cjs");
const _createAggregator = require("./_createAggregator.cjs");
var objectProto = Object.prototype;
var hasOwnProperty = objectProto.hasOwnProperty;
var groupBy = _createAggregator.default(function(result, value, key) {
  if (hasOwnProperty.call(result, key)) {
    result[key].push(value);
  } else {
    _baseAssignValue.default(result, key, [value]);
  }
});
exports.default = groupBy;
//# sourceMappingURL=groupBy.cjs.map
