IsArray Function
Syntax
IsArray(expr)
Group
Description
Return the True if expr is an array of values.
Parameters
Parameters | Description |
---|---|
expr | 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 End Sub
See also