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

Function unique

wxapp/ykb_all.js:107–109  ·  view source on GitHub ↗
(items = [])

Source from the content-addressed store, hash-verified

105}
106
107function unique(items = []) {
108 return [...new Set(items.map((item) => String(item || "").trim()).filter(Boolean))];
109}
110
111function parseUnifiedEnv() {
112 const raw = process.env[CK_NAME] || "";

Callers 2

parseUnifiedEnvFunction · 0.70
getAccountsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected