MCPcopy Index your code
hub / github.com/Moli-X/Resources / stringify

Method stringify

Script/Hzh.js:529–538  ·  view source on GitHub ↗
(obj_or_str)

Source from the content-addressed store, hash-verified

527 }
528
529 stringify(obj_or_str) {
530 if (typeof obj_or_str === "string" || obj_or_str instanceof String)
531 return obj_or_str;
532 else
533 try {
534 return JSON.stringify(obj_or_str, null, 2);
535 } catch (err) {
536 return "[object Object]";
537 }
538 }
539 })(name, debug);
540}
541

Callers 15

Saomiao.jsFile · 0.45
Amap.jsFile · 0.45
toStrMethod · 0.45
setjsonMethod · 0.45
writedataMethod · 0.45
setdataMethod · 0.45
queryStrMethod · 0.45
rMethod · 0.45
Keep.jsFile · 0.45
ParserFunction · 0.45
ParseUnknownFunction · 0.45
V2QXFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected