MCPcopy Create free account
hub / github.com/Script-Hub-Org/Script-Hub / toStr

Method toStr

env/env.js:80–86  ·  view source on GitHub ↗
(t, e = null)

Source from the content-addressed store, hash-verified

78 }
79 }
80 toStr(t, e = null) {
81 try {
82 return JSON.stringify(t)
83 } catch {
84 return e
85 }
86 }
87 getjson(t, e) {
88 let s = e
89 const a = this.getdata(t)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected