pub fn attr_dict_size(attr: &AttrValue) -> Result<u32>
Get the size of an AttrValue dict, in number of items or an error if the AttrValue is not a dict
AttrValue
attr
The size of the dict, if the AttrValue is a dict, or an error if it is not
All Contexts