MCPcopy Create free account
hub / github.com/Script-Hub-Org/Script-Hub / isStash

Method isStash

env/env.js:70–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 return 'Shadowrocket' === this.getEnv()
69 }
70 isStash() {
71 return 'Stash' === this.getEnv()
72 }
73 toObj(t, e = null) {
74 try {
75 return JSON.parse(t)

Callers

nothing calls this directly

Calls 1

getEnvMethod · 0.45

Tested by

no test coverage detected