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

Method queryStr

env/env.js:370–377  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

368 return t
369 }
370 queryStr(t) {
371 let e = ''
372 for (const s in t) {
373 let a = t[s]
374 null != a && '' !== a && ('object' == typeof a && (a = JSON.stringify(a)), (e += `${s}=${a}&`))
375 }
376 return (e = e.substring(0, e.length - 1)), e
377 }
378 msg(e = t, s = '', a = '', r) {
379 const i = t => {
380 switch (typeof t) {

Callers 1

getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected