Returns whether the map contains the specified key.
Example:
var map = new HashMap<string,string> (GLib.str_hash, GLib.str_equal);
map.put ("key", "value");
assert (map.containsKey ("key"));
assert (!map.containsKey ("other"));
| key |
the key to check. |
|
true if the key exists. |