MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / toStr

Method toStr

tools/env.js:56–60  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

54 this.log(`共找到${this.userCount}个账号`);
55 }
56 toStr(v) {
57 if (v instanceof Error) return v.stack || v.message;
58 if (v && typeof v == "object") try { return JSON.stringify(v) } catch { return "[Complex Object]" }
59 return String(v);
60 }
61 async sendMsg() {
62 this.log("==============📣Center 通知📣==============")
63 let message = this.notifyStr.join(this.logSeparator);

Callers 1

logMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected