MCPcopy Create free account
hub / github.com/codeHappyDananx/SpecWave / isTaskLine

Function isTaskLine

src/stores/project.ts:742–744  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

740 }
741
742 function isTaskLine(text: string): RegExpMatchArray | null {
743 return text.match(/^(\s*)-\s*\[([ xX])\]\s*(.+)$/)
744 }
745
746 function countLeadingSpaces(text: string): number {
747 let count = 0

Callers 1

parseTaskListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected