macro_rules! sbool {
($value:expr) => { ... };
}Expand description
Creates a Some(Value::Bool) for use in write requests.
This macro wraps a boolean value in Some(Value::Bool), making it ready
for use with swrite! macro or any function expecting an Option<Value>.
§Arguments
$value- A boolean value (trueorfalse)
§Returns
Some(Value::Bool)- The wrapped boolean value