import assignValue from "./_assignValue2.js";
import copyObject from "./_copyObject2.js";
import createAssigner from "./_createAssigner2.js";
import isArrayLike from "./isArrayLike2.js";
import isPrototype from "./_isPrototype2.js";
import keys from "./keys2.js";
var objectProto = Object.prototype;
var hasOwnProperty = objectProto.hasOwnProperty;
var assign = createAssigner(function(object, source) {
  if (isPrototype(source) || isArrayLike(source)) {
    copyObject(source, keys(source), object);
    return;
  }
  for (var key in source) {
    if (hasOwnProperty.call(source, key)) {
      assignValue(object, key, source[key]);
    }
  }
});
export {
  assign as default
};
//# sourceMappingURL=assign.js.map
