type function

Gets the type or the C++ type of a field