MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / worseOf

Function worseOf

graph-ui/src/impact/risk-rules.ts:246–248  ·  view source on GitHub ↗
(left: RiskLevel, right: RiskLevel)

Source from the content-addressed store, hash-verified

244
245/** The worse of two levels. */
246export function worseOf(left: RiskLevel, right: RiskLevel): RiskLevel {
247 return RISK_ORDER[left] <= RISK_ORDER[right] ? left : right;
248}

Callers 1

risk-rules.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected