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

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

Checks if value is set to true.

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