Function ruma_common::serde::is_true

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

Simply dereferences the given bool.

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