Function ruma_common::serde::can_be_empty::is_empty
source · [−]pub fn is_empty<T: CanBeEmpty>(val: &T) -> boolExpand description
Check whether a value is empty.
pub fn is_empty<T: CanBeEmpty>(val: &T) -> boolCheck whether a value is empty.