MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / cloneJson

Function cloneJson

packages/codex-native-api/src/native_api_server.ts:3085–3087  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

3083}
3084
3085function cloneJson<T>(value: T): T {
3086 return JSON.parse(JSON.stringify(value)) as T;
3087}

Calls

no outgoing calls

Tested by

no test coverage detected