I have a function that passes an array
The function will process and extract the contents of the array depending on what type it is: whether a single dimensional array, two dimensional array, multi-dimensional array etc etc ...
How can I check what kind of array is being passed ?