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

Function splitAccounts

wxapp/txdt.js:39–44  ·  view source on GitHub ↗
(value = "")

Source from the content-addressed store, hash-verified

37 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) MicroMessenger/3.9.12 MiniProgramEnv/Windows WindowsWechat/WMPF";
38
39function splitAccounts(value = "") {
40 return String(value)
41 .split(/\n|&/)
42 .map((item) => item.trim())
43 .filter(Boolean);
44}
45
46function short(value, max = 320) {
47 if (value === undefined || value === null) return "";

Callers 1

txdt.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected