Whether the key is in the map.
Hash_Map :: #import "Extensions/Hash_Map";
map: Hash_Map.Map(string, int);
defer Hash_Map.deinit(*map);
Hash_Map.insert(*map, "a", 1);
assert(Hash_Map.contains(*map, "a") && !Hash_Map.contains(*map, "b"));contains :: (map: *Map, key: map.Key) -> bool
Parameters
- map: *Map
- key: map.Key
Returns
- bool