> lang > typeof | ![]() |
| Documentation |
|
Type = TypeOf ( Expression )
Returns the type of an expression as an integer value.
| Expression type | Return value |
|---|---|
| NULL | 0 |
| Boolean | 1 |
| Byte | 2 |
| Short | 3 |
| Integer | 4 |
| Long | 5 |
| Single | 6 |
| Float | 7 |
| Date | 8 |
| String | 9 |
| Variant | 11 |
| Object | 16 |
See Predefined Constants for a list of the datatypes returned by this function.