MCPcopy Index your code
hub / github.com/continuedev/continue / copyOf

Function copyOf

core/util/index.ts:115–120  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

113}
114
115export function copyOf(obj: any): any {
116 if (obj === null || obj === undefined) {
117 return obj;
118 }
119 return JSON.parse(JSON.stringify(obj));
120}
121
122export function deduplicateArray<T>(
123 array: T[],

Callers 4

triggerConfigUpdateFunction · 0.90
getEmptyRootStateFunction · 0.90
index.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected