Returns the internal type representation of a variant.
VarGetType ( expression )
Parameters
| expression | An expression to check the internal type of. |
Return Value
Returns a string representing the type of the expression.
Remarks
IsInt can return different results as it tries to convert from a string or float.
Related
IsInt, IsFloat, IsString, IsBinary, IsArray, IsDllStruct, IsHwnd, IsObj, IsBool, IsKeyword
Example
$int = 1
$float = 2.0
Msgbox(0, "Types", "$int is " & VarGetType($int) & @CRLF & "$float is " & VarGetType($float) )