Skip to main content

entry_required_bool

Function entry_required_bool 

Source
pub fn entry_required_bool(
    entries: &[(Expr, Expr)],
    name: &str,
    expected: &'static str,
) -> Result<bool>
Expand description

Read a required bool-valued field (Expr::Bool) from an entry slice by bare-symbol key. Bare-symbol counterpart of the bool_field forks.