MCPcopy Create free account
hub / github.com/anomalyco/opencode / bad

Function bad

packages/app/src/components/debug-bar.tsx:48–51  ·  view source on GitHub ↗
(n: number | undefined, limit: number, low = false)

Source from the content-addressed store, hash-verified

46}
47
48const bad = (n: number | undefined, limit: number, low = false) => {
49 if (n === undefined || Number.isNaN(n)) return false
50 return low ? n < limit : n > limit
51}
52
53const session = (path: string) => path.includes("/session")
54

Callers 2

ViewFunction · 0.85
DebugBarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected