check_map_empty

Function check_map_empty 

Source
pub fn check_map_empty<M>(map: &M, param: &str) -> Result<()>
where M: MapLike,
Expand description

Checks the hashmap is empty.

ยงErrors

Returns an error if the validation check fails.