TypeName(varname)
The required varname argument is an Object containing any variable except a variable of a user-defined type.
The string returned by TypeName can be any one of the following:
String returned | Variable |
---|---|
object type | An object whose type is objecttype |
Byte | Byte value |
Integer | Integer |
Long | Long integer |
Single | Single-precision floating-point number |
Double | Double-precision floating-point number |
Decimal | Decimal value |
Date | Date value |
String | String |
Boolean | Boolean value |
Error | An error value |
Empty | Uninitialized |
Null | No valid data |
Object | An object |
Unknown | An object whose type is unknown |
Nothing | Object variable that doesn't refer to an object |
If varname is an array, the returned string can be any one of the possible returned strings (orObject) with empty parentheses appended. For example, if varname is an array of integers, TypeName returns "Integer()
".
Data Type Summary | IsArray Function | IsDate Function | IsEmpty Function | IsError Function | IsNull Function | IsNumeric Function | IsObject Function