SetTrieArray

Last Updated2013-08-29
Created At2007-12-10

Sets an array value in a Map, either inserting a new entry or replacing an old one.

native bool SetTrieArray(Handle map, const char[] key, const any[] array, int num_items, bool replace = true)

Parameters

Handle map
Map Handle.
const char[] key
Key string.
const any[] array
Array to store.
int num_items
Number of items in the array.
bool replace
If false, operation will fail if the key is already set.

Return Value

bool True on success, false on failure.

Error

Invalid Handle.