MCPcopy Create free account
hub / github.com/QLHazyCoder/FlowPilot / getHotmailBulkActionLabel

Function getHotmailBulkActionLabel

hotmail-utils.js:83–88  ·  view source on GitHub ↗
(mode = 'all', count = 0)

Source from the content-addressed store, hash-verified

81 }
82
83 function getHotmailBulkActionLabel(mode = 'all', count = 0) {
84 const normalizedCount = Number.isFinite(Number(count)) ? Math.max(0, Number(count)) : 0;
85 const prefix = mode === 'used' ? '清空已用' : '全部删除';
86 const suffix = normalizedCount > 0 ? `(${normalizedCount})` : '';
87 return `${prefix}${suffix}`;
88 }
89
90 function isAuthorizedHotmailAccount(account) {
91 return Boolean(account)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected