modify_bool

Function modify_bool 

fn modify_bool(slot: &mut bool, new_value: bool) -> bool
Expand description

Updates slot to new_value and returns true if the value was changed.