DataType.arrayDimensionCount

stores if it's an array. If type is int, it will be 0, if int[] it will be 1, if int[][], then 2 ...

struct DataType
uinteger arrayDimensionCount;

Meta