MCPcopy Create free account
hub / github.com/Moli-X/Resources / read

Function read

Script/Wechat.js:172–178  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

170}
171
172function read(key) {
173 if (typeof $notify != "undefined") {
174 return JSON.parse($prefs.valueForKey(key) || "{}");
175 } else {
176 return JSON.parse($persistentStore.read(key) || "{}");
177 }
178}

Callers 1

Wechat.jsFile · 0.70

Calls 2

parseMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected