taskCheckbox method
Implementation
Parser<bool> taskCheckbox() => seq3(
string('['),
pattern(' xX'),
string('] ').then(ref0(sp)),
).map3((_, check, _) => check.trim().toLowerCase() == 'x');
Parser<bool> taskCheckbox() => seq3(
string('['),
pattern(' xX'),
string('] ').then(ref0(sp)),
).map3((_, check, _) => check.trim().toLowerCase() == 'x');