MCPcopy Create free account
hub / github.com/SethGammon/Citadel / countByStatus

Function countByStatus

scripts/operator-console.js:57–59  ·  view source on GitHub ↗
(items, predicate)

Source from the content-addressed store, hash-verified

55}
56
57function countByStatus(items, predicate) {
58 return (items || []).filter(predicate).length;
59}
60
61function statusForDecision(decision) {
62 if (decision.outcome === 'idle') return 'idle';

Callers 1

summarizeDashboardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected