MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / deep_copy

Function deep_copy

webiojs/src/utils.ts:82–84  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

80}
81
82export function deep_copy(obj: any): any {
83 return JSON.parse(JSON.stringify(obj));
84}
85
86
87// container 为带有滚动条的元素

Callers 6

create_elementMethod · 0.90
setup_specMethod · 0.90
create_elementMethod · 0.90
create_elementMethod · 0.90
create_elementMethod · 0.90
create_elementMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…