pub fn get_lit_bool(attr_name: Symbol, value: &Expr) -> Result<bool>
Expand description
Get a literal boolean from the provided expression as a bool
.
pub fn get_lit_bool(attr_name: Symbol, value: &Expr) -> Result<bool>
Get a literal boolean from the provided expression as a bool
.