import baseAssignValue from "./_baseAssignValue2.js";
import createAggregator from "./_createAggregator.js";
var objectProto = Object.prototype;
var hasOwnProperty = objectProto.hasOwnProperty;
var groupBy = createAggregator(function(result, value, key) {
  if (hasOwnProperty.call(result, key)) {
    result[key].push(value);
  } else {
    baseAssignValue(result, key, [value]);
  }
});
export {
  groupBy as default
};
//# sourceMappingURL=groupBy.js.map
