feat: determine if a line contains a checked box

This commit is contained in:
Oliver Davies 2022-08-08 14:05:45 -04:00
parent 6151b3c0e2
commit 805aeab265

View file

@ -1,5 +1,9 @@
local checked_character = "x"
local line_contains_a_checked_checkbox = function(line)
return string.find(line, "[" .. checked_character .. "]")
end
local M = {}
M.check = function(line)