ruma_common::serde::can_be_empty

Function is_empty

Source
pub fn is_empty<T: CanBeEmpty>(val: &T) -> bool
Expand description

Check whether a value is empty.