GetTrieValue Function

Retrieves a value in a Map.

bool GetTrieValue(Handle map, const char[] key, any &value)

Parameters

Handle map

Map Handle.

const char[] key

Key string.

any& value

Variable to store value.

Return Value

True on success. False if the key is not set, or the key is set as an array or string (not a value).

Errors

Invalid Handle.