Add new trie native: ContainsKey() (#1390)

This commit is contained in:
Einyux
2020-11-30 20:51:47 -08:00
committed by GitHub
parent 0caa349f6a
commit a191a907e9
2 changed files with 28 additions and 0 deletions
+6
View File
@@ -114,6 +114,12 @@ methodmap StringMap < Handle
// as a value or array (not a string).
public native bool GetString(const char[] key, char[] value, int max_size, int &size=0);
// Checks whether a key is present in a Map.
//
// @param key Key string.
// @return True if the key has been found, else false.
public native bool ContainsKey(const char[] key);
// Removes a key entry from a Map.
//
// @param key Key string.