MTensor T0;mint type;...type = libData->MTensor_getType( T0);if ( type != MType_Integer) { processError();}