SetArray

Last Updated2014-11-15
Created At2014-07-13

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

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

Parameters

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.