coerce_to_bool

Function coerce_to_bool 

Source
pub fn coerce_to_bool(value: &CellValue) -> Result<bool>
Expand description

Coerce a CellValue to a boolean. Numbers: 0 is false, nonzero is true. Strings “TRUE”/“FALSE” are recognized. Empty is false.