MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / isLegacyPersistedTask

Function isLegacyPersistedTask

apps/vis/server/src/lib/task-store.ts:228–230  ·  view source on GitHub ↗
(task: DiskPersistedTask)

Source from the content-addressed store, hash-verified

226}
227
228function isLegacyPersistedTask(task: DiskPersistedTask): task is LegacyPersistedTask {
229 return 'task_id' in task;
230}
231
232function isRecord(value: unknown): value is Record<string, unknown> {
233 return typeof value === 'object' && value !== null;

Callers 1

normalizePersistedTaskFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected