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.