IsArray ?? How to use...?

IF UBound( mSYNC.arrLanguage, 2) > 0 THEN System.DebugLog "array = true" ELSE System.DebugLog "array = false"

This works as long as arrLanguage is an array…
I never got IsArray to work. How does it work!?

isArray is a function for the variant data type, so you can check if it contains an array:

[code] dim t() as integer = array(1,2,3)

dim v as Variant = t

if v.IsArray then
// it is an array

if v.ArrayElementType = v.TypeInteger then
  dim a() as integer = t
end if

end if[/code]