ruma_common::serde

Function is_true

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

Simply dereferences the given bool.

Useful for #[serde(skip_serializing_if = ...)].