How can I determine whether an array item is a reference to another array or another typed item like Single for instance.
I'm looking into this because I would like to make a uniform code that will iterate through all items of a dynamic multidimensional arrays regardless of the number of dimensions that array have.
And I need this in order to determine if I need to recursively iterate through array that represents inner dimension or whether I'm already at innermost dimension.
I assume I might need to rely in RTTI but I must admit I have no experience with RTTI so far.