Function ruma_common::serde::can_be_empty::is_empty
source ยท pub fn is_empty<T: CanBeEmpty>(val: &T) -> bool
Expand description
Check whether a value is empty.
pub fn is_empty<T: CanBeEmpty>(val: &T) -> bool
Check whether a value is empty.