MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / shortValue

Function shortValue

wxapp/roki.js:65–68  ·  view source on GitHub ↗
(value = "")

Source from the content-addressed store, hash-verified

63}
64
65function shortValue(value = "") {
66 const text = String(value || "");
67 return text ? `${text.slice(0, 4)}***${text.slice(-4)}` : "";
68}
69
70function getSignString(params) {
71 return Object.keys(params)

Callers 2

runMethod · 0.70
loginByWxCodeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected