bevy_macro_utils

Function get_lit_bool

Source
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.