Add new trie native: ContainsKey() (#1390)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user