Function leo_compiler::statement::statement::get_indicator_value[][src]

pub fn get_indicator_value(indicator: &Boolean) -> bool
Expand description

Unwraps the indicator boolean gadget value or false if None. This method is used by logging methods only. We can directly get the boolean value of the indicator since we are not enforcing any constraints.