MCPcopy Create free account
hub / github.com/freecodexyz/free-code / isDreamTask

Function isDreamTask

src/tasks/DreamTask/DreamTask.ts:43–50  ·  view source on GitHub ↗
(task: unknown)

Source from the content-addressed store, hash-verified

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

Callers 1

initAutoDreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected