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

Function splitAccounts

wxapp/ytb2_all.js:47–52  ·  view source on GitHub ↗
(value = "")

Source from the content-addressed store, hash-verified

45}));
46
47function splitAccounts(value = "") {
48 return String(value)
49 .split(/\n|&/)
50 .map((item) => item.trim())
51 .filter(Boolean);
52}
53
54function unique(items = []) {
55 return [...new Set(items.map((item) => String(item || "").trim()).filter(Boolean))];

Callers 2

parseUnifiedEnvFunction · 0.70
getAccountsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected