I am trying to test for an exists of a multidimensional array within my vbscript function, but I am having issues finding the best solution for this.
In my function I’m either excepting a string value or an array of values, the array can either be a single dim or multidimensional.
The problem I’m having is trying to test whether the array is single or multi dim. Is there a predefined way of doing this?
Any help would be great.
No, there is no predefined way; that is: there is no build in function that will return you the amount of dimensions. However, you can build you own.