MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / arrayToObject2

Function arrayToObject2

out/cli.cjs:27934–27942  ·  view source on GitHub ↗
(source, options)

Source from the content-addressed store, hash-verified

27932 }
27933 };
27934 var arrayToObject2 = function arrayToObject3(source, options) {
27935 var obj = options && options.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
27936 for (var i3 = 0; i3 < source.length; ++i3) {
27937 if (typeof source[i3] !== "undefined") {
27938 obj[i3] = source[i3];
27939 }
27940 }
27941 return obj;
27942 };
27943 var merge2 = function merge3(target, source, options) {
27944 if (!source) {
27945 return target;

Callers 1

merge2Function · 0.85

Calls 1

createMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…