MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / getval

Method getval

jlld.js:329–340  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

327 return e;
328 }
329 getval(t) {
330 if (this.isSurge() || this.isLoon()) {
331 return $persistentStore.read(t);
332 } else if (this.isQuanX()) {
333 return $prefs.valueForKey(t);
334 } else if (this.isNode()) {
335 this.data = this.loaddata();
336 return this.data[t];
337 } else {
338 return this.data && this.data[t] || null;
339 }
340 }
341 setval(t, s) {
342 if (this.isSurge() || this.isLoon()) {
343 return $persistentStore.write(t, s);

Callers 2

getdataMethod · 0.45
setdataMethod · 0.45

Calls 5

isSurgeMethod · 0.45
isLoonMethod · 0.45
isQuanXMethod · 0.45
isNodeMethod · 0.45
loaddataMethod · 0.45

Tested by

no test coverage detected