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

Function make_set

webiojs/src/utils.ts:75–80  ·  view source on GitHub ↗
(arr: string[])

Source from the content-addressed store, hash-verified

73}
74
75export function make_set(arr: string[]) {
76 let set: { [i: string]: string } = {};
77 for (let val of arr)
78 set[val] = '';
79 return set;
80}
81
82export function deep_copy(obj: any): any {
83 return JSON.parse(JSON.stringify(obj));

Callers 5

handle_messageMethod · 0.90
create_elementMethod · 0.90
create_elementMethod · 0.90
setup_select_optionsMethod · 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…