isEmptyString


Description:

public static bool isEmptyString (HashMap<string,string> map)

Returns whether the map is empty.

Example:

    var map = new HashMap<string, string> (GLib.str_hash, GLib.str_equal);
assert (Maps.isEmptyString (map));
map.put ("key", "val");
assert (!Maps.isEmptyString (map));

Parameters:

map

the map to check.

Returns:

true if the map has no entries.