MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / clone

Function clone

src/settings/lspServerDetail.js:72–75  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

70}
71
72function clone(value) {
73 if (!value || typeof value !== "object") return value;
74 return JSON.parse(JSON.stringify(value));
75}
76
77function mergeLauncher(base, patch) {
78 if (!base && !patch) return undefined;

Callers 1

callbackFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected