MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / getdata

Method getdata

ruilanCar.js:236–250  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

234 t);
235 }
236 getdata(t) {
237 let s = this.getval(t);
238 if (/^@/.test(t)) {
239 const [, e, i] = /^@(.*?)\.(.*?)$/.exec(t),
240 o = e ? this.getval(e) : "";
241 if (o)
242 try {
243 const t = JSON.parse(o);
244 s = t ? this.lodash_get(t, i, "") : s;
245 } catch (t) {
246 s = "";
247 }
248 }
249 return s;
250 }
251 setdata(t, s) {
252 let e = !1;
253 if (/^@/.test(s)) {

Callers 1

checkEnvFunction · 0.45

Calls 2

getvalMethod · 0.45
lodash_getMethod · 0.45

Tested by

no test coverage detected