NOP Design Home Page
Documentation
TOC/Index
Search
Downloads



IsArray

Determines if variable is an array / list

Checks a defined variable or array indicee to see if it is of list/array type.

Sample Source

CreateArray MyArray

If IsArray MyArray Then
  Say "It is an array!"
Else
  Say "Not an array!"
EndIf

MyArray["something"] := "Testing!"

If IsArray MyArray["something"] Then
  Say "It is an array!"
Else
  Say "Not an array!"
EndIf

Related Function(s):
   DataType; IsInteger; IsList; IsNull; IsNumber; IsString; KeyExists;

Minimum version: 4.8, build 20050913