Skip to main content

field_bool

Function field_bool 

Source
pub fn field_bool(map: &Expr, name: &str) -> Option<bool>
Expand description

Read a bool-valued field (Expr::Bool). Returns None when absent or not a bool. This is the optional counterpart of required_bool.