valueType_of function

Return the valueType of an object