pub fn to_logical(value: &LiteralValue) -> Result<bool, ExcelError>Expand description
Logical coercion.
- Accepts Boolean
- Numbers: nonzero → true, zero → false
- Text: “TRUE”/“FALSE” (ASCII case-insensitive)
pub fn to_logical(value: &LiteralValue) -> Result<bool, ExcelError>Logical coercion.