i want to get the Length of an Array with "sizeof". I tried everything. This is the error message: "[Int32] is not convertible to T.Type"
The Array has to be Int32.
var testArray: [Int32] = [2000,400,5000,400]
var arrayLength = sizeof(testArray)
See Question&Answers more detail:os