( markdown: string, taskIndex: number, checked: boolean )
| 125 | * the `setTask*` mutators. Kept as a separate export for callers that |
| 126 | * want the explicit naming. */ |
| 127 | export function setTaskCheckedAtIndex( |
| 128 | markdown: string, |
| 129 | taskIndex: number, |
| 130 | checked: boolean |
| 131 | ): string { |
| 132 | return toggleTaskAtIndex(markdown, taskIndex, checked) |
| 133 | } |
| 134 | |
| 135 | const WAITING_TOKEN_RE = /(^|\s)@waiting\b/i |
| 136 |
no test coverage detected