Syntax
Public Function IsArrayValue(varName As Variant) As Boolean
Description
This function is used to return a boolean value indicating whether a value points to an array.
Parameters
Key | Description |
varName | An expression of type variant to be indicated if it array or not. |
Return value
Returns true if the variable points to an array. Otherwise, it returns false.
Sample
Public Sub main()Dim Arr(5)AlertMessage IsArrayValue(Arr) 'Returns true. End Sub
See Also