MCPcopy Create free account
hub / github.com/6dylan6/jdm / getval

Method getval

function/sendNotify.js:2408–2410  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

2406 return e;
2407 }
2408 getval(t) {
2409 return this.isSurge() || this.isLoon() ? $persistentStore.read(t) : this.isQuanX() ? $prefs.valueForKey(t) : this.isNode() ? ((this.data = this.loaddata()), this.data[t]) : (this.data && this.data[t]) || null;
2410 }
2411 setval(t, s) {
2412 return this.isSurge() || this.isLoon() ? $persistentStore.write(t, s) : this.isQuanX() ? $prefs.setValueForKey(t, s) : this.isNode() ? ((this.data = this.loaddata()), (this.data[s] = t), this.writedata(), !0) : (this.data && this.data[s]) || null;
2413 }

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