IsArray Function |
Syntax:
IsArray(var)
Group:
Description: Returns the True if var is an array of values.
Parameters:
Parameter |
Description |
A array variable or a variant var can contain multiple of values. |
Example:
Sub Main
Dim X As Variant, Y(2) As Integer
Debug.Print IsArray(X) 'False
X = Array(1,4,9)
Debug.Print IsArray(X) 'True
X = Y
Debug.Print IsArray(X) 'True
EndSub