Syntax 

IsArray(expr)


Group 

Variable Info 


Description 

Return the True if expr is an array of values.


Parameters

Description

expr 

A array variable or a variant var can contain multiple of values.


See Also 

TypeName, VarType


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

End Sub