check_map_not_empty

Function check_map_not_empty 

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

Checks the map is not empty.

ยงErrors

Returns an error if the validation check fails.