MCPcopy Create free account
hub / github.com/NobyDa/Script / write

Function write

iQIYI-DailyBonus/iQIYI.js:416–419  ·  view source on GitHub ↗
(value, key)

Source from the content-addressed store, hash-verified

414 })
415 }
416 const write = (value, key) => {
417 if (isQuanX) return $prefs.setValueForKey(value, key)
418 if (isSurge) return $persistentStore.write(value, key)
419 }
420 const read = (key) => {
421 if (isQuanX) return $prefs.valueForKey(key)
422 if (isSurge) return $persistentStore.read(key)

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected