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.