world.ArrayExists

MUSHclient script function (Method) — introduced in version 3.46

Tests to see if the specified array exists

Prototype

boolean ArrayExists(BSTR Name);

Data type meanings

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

Arrays

See also

FunctionDescription
ArrayCountReturns the number of arrays
ArrayCreateCreates an array
ArrayDeleteDeletes an array
ArrayKeyExistsTests to see if the specified array key exists
ArrayListAllGets the list of arrays