world.ArrayExists
Tests to see if the specified array exists
Prototype
boolean ArrayExists(BSTR Name);
Description
This returns TRUE (1) if the specified array exists, and FALSE (0) if it does not.
VBscript example
Note ArrayExists ("spells")
Lua example
Note (ArrayExists ("spells"))
Return value
TRUE if the array exists.
FALSE if it does not exist.
Note: TRUE is a non-zero value, FALSE is the value 0.
Related topic
See also
| Function | Description |
|---|---|
| ArrayCount | Returns the number of arrays |
| ArrayCreate | Creates an array |
| ArrayDelete | Deletes an array |
| ArrayKeyExists | Tests to see if the specified array key exists |
| ArrayListAll | Gets the list of arrays |