MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / getHotmailListToggleLabel

Function getHotmailListToggleLabel

hotmail-utils.js:69–73  ·  view source on GitHub ↗
(expanded, count = 0)

Source from the content-addressed store, hash-verified

67 }
68
69 function getHotmailListToggleLabel(expanded, count = 0) {
70 const normalizedCount = Number.isFinite(Number(count)) ? Math.max(0, Number(count)) : 0;
71 const suffix = normalizedCount > 0 ? `(${normalizedCount})` : '';
72 return `${expanded ? '收起列表' : '展开列表'}${suffix}`;
73 }
74
75 function filterHotmailAccountsByUsage(accounts, mode = 'all') {
76 const list = Array.isArray(accounts) ? accounts.slice() : [];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected