int DictContains(int dictionary, string key)
Returns true/false as to whether or not a specific key exists within a specified dictionary. This is useful to prevent runtime errors caused by trying to DictGetInt() or DictGetString() to a non-existant dictionary key
if (DictContains(bob_dict, "name")) { name = DictGetString(bob_dict, name); }
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |