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

Method getdata

jd_api_test.js:248–260  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

246 }
247
248 getdata(t) {
249 let e = this.getval(t);
250 if (/^@/.test(t)) {
251 const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : "";
252 if (r) try {
253 const t = JSON.parse(r);
254 e = t ? this.lodash_get(t, i, "") : e
255 } catch (t) {
256 e = ""
257 }
258 }
259 return e
260 }
261
262 setdata(t, e) {
263 let s = !1;

Callers 2

getjsonMethod · 0.45
runScriptMethod · 0.45

Calls 2

getvalMethod · 0.45
lodash_getMethod · 0.45

Tested by

no test coverage detected