pub fn parse_bool_word(word: &str) -> Option<bool>Expand description
The spellings of a boolean accepted in ledger source.
Stated ONCE because a boolean can arrive two ways — option "x" "TRUE" and
x: TRUE metadata — and they are the same concept to a ledger author. Two
separate vocabularies would mean render_commas: YES grouping numerals
while option "render_commas" "YES" warns and does nothing.
None means “not recognizably boolean”: the option parser turns that into
an E7002 warning, and metadata leaves the default in place.