MCPcopy Create free account
hub / github.com/apache/maka / isTerminalRuntimeEventStatus

Function isTerminalRuntimeEventStatus

packages/core/src/runtime-event.ts:115–120  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

113export type RuntimeEventModelVisibility = (typeof RUNTIME_EVENT_MODEL_VISIBILITIES)[number];
114
115export function isTerminalRuntimeEventStatus(value: unknown): boolean {
116 return (
117 typeof value === 'string' &&
118 (TERMINAL_RUNTIME_EVENT_STATUSES as readonly string[]).includes(value)
119 );
120}
121
122// ============================================================================
123// Content (model-facing payload)

Callers 2

isTerminalRuntimeEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected