value

Macro value 

Source
macro_rules! value {
    ($($value:tt)+) => { ... };
}
Expand description

Construct a Value from a literal.

Useful for comparisons with functions that return a Value.

ยงExample

use bulwark_sdk::*;

if let Some(strict) = config_var("strict") {
    if strict == value!(true) {
        // strict enforcement here
    }
}

See also from_value.