The Type namespace only has constant definitions for basic Qore datatypes in it. There are no class definitions in the Type namespace. The type() function returns values in the set of the following constants.
Table 4.21. Type Constant Definitions
Name
Description
Type::Boolean
Boolean
Type::Int
Integer
Type::String
String
Type::Float
Float
Type::Date
Date
Type::Binary
Binary
Type::Hash
Hash
Type::List
List
Type::Object
Object
Type::NullType
SQL NULL
Type::NothingType
NOTHING
Type::CallReference
call references
Type::Closure
closures