The legal values of the DATATYPE type are the names of data types, for example INTEGER and BOOLEAN. The return value from the TypeOf function is of type DATATYPE.
User defined Types (enums, records, etc.)
For additional information, see Type Cast Operator.