MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isDreamTask

Function isDreamTask

source code/tasks/DreamTask/DreamTask.ts:45–52  ·  view source on GitHub ↗
(task: unknown)

Source from the content-addressed store, hash-verified

43}
44
45export function isDreamTask(task: unknown): task is DreamTaskState {
46 return (
47 typeof task === 'object' &&
48 task !== null &&
49 'type' in task &&
50 task.type === 'dream'
51 )
52}
53
54export function registerDreamTask(
55 setAppState: SetAppState,

Callers 1

initAutoDreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected