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

Method getdata

jd_redPacket.js:1701–1713  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

1699 }
1700
1701 getdata(t) {
1702 let e = this.getval(t);
1703 if (/^@/.test(t)) {
1704 const [, s, i] = /^@(.*?)\.(.*?)$/.exec(t), r = s ? this.getval(s) : "";
1705 if (r) try {
1706 const t = JSON.parse(r);
1707 e = t ? this.lodash_get(t, i, "") : e
1708 } catch (t) {
1709 e = ""
1710 }
1711 }
1712 return e
1713 }
1714
1715 setdata(t, e) {
1716 let s = !1;

Callers 3

TotalBeanFunction · 0.45
getjsonMethod · 0.45
runScriptMethod · 0.45

Calls 2

getvalMethod · 0.45
lodash_getMethod · 0.45

Tested by

no test coverage detected