Function spirit::utils::is_true[][src]

pub fn is_true(v: &bool) -> bool
Expand description

Checks if value is set to true.

Useful in #[serde(skip_serializing_if = "is_true")]