MCPcopy Create free account
hub / github.com/Semporia/Scripts / toStr

Method toStr

jd_api_test.js:169–175  ·  view source on GitHub ↗
(t, e = null)

Source from the content-addressed store, hash-verified

167 }
168
169 toStr(t, e = null) {
170 try {
171 return JSON.stringify(t)
172 } catch {
173 return e
174 }
175 }
176
177 getjson(t, e) {
178 let s = e;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected