Function to_bool

Source
pub fn to_bool(arg: &Value) -> Result<bool, String>
👎Deprecated
Expand description

Convert arg to a bool and do some error checks (without casting)