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

Function unique

wxapp/ytb2_all.js:54–56  ·  view source on GitHub ↗
(items = [])

Source from the content-addressed store, hash-verified

52}
53
54function unique(items = []) {
55 return [...new Set(items.map((item) => String(item || "").trim()).filter(Boolean))];
56}
57
58function parseUnifiedEnv() {
59 const raw = process.env[CK_NAME] || "";

Callers 2

parseUnifiedEnvFunction · 0.70
getAccountsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected