MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isTerminalStatus

Function isTerminalStatus

src/components/tasks/taskStatusUtils.tsx:16–18  ·  view source on GitHub ↗
(status: TaskStatus)

Source from the content-addressed store, hash-verified

14 * Returns true if the given task status represents a terminal (finished) state.
15 */
16export function isTerminalStatus(status: TaskStatus): boolean {
17 return status === 'completed' || status === 'failed' || status === 'killed';
18}
19
20/**
21 * Returns the appropriate icon for a task based on status and state flags.

Callers 1

AgentLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected