src/sap.ui.table/src/sap/ui/table/TableRendererUtils.js
function(rm, sClassName, bShouldAdd) {
			if (sClassName && (!!bShouldAdd || arguments.length == 2)) {
				rm.addClass(sClassName);
				if (TAGCONTEXT) {
					TAGCONTEXT.writeClasses = true;
				}
			}
			return TableRendererUtils;
		}
function(rm, sClassName, bShouldAdd) {
			if (sClassName && (!!bShouldAdd || arguments.length == 2)) {
				rm.addClass(sClassName);
				if (TAGCONTEXT) {
					TAGCONTEXT.writeClasses = true;
				}
			}
			return TableRendererUtils;
		}
function ( rm , sClassName , bShouldAdd ) { if ( sClassName && ( ! ! bShouldAdd || arguments . length == 2 ) ) { rm . addClass ( sClassName ) ; if ( TAGCONTEXT ) { TAGCONTEXT . writeClasses = true ; } } return TableRendererUtils ; }
Adds the given CSS class if no condition is given or the condition is truthy.

@param {sap.ui.core.RenderManager} rm Instance of the rendermanager
@param {string} sClassName The CSS class which should be written
@param {boolean} [bShouldAdd] optional condition

@returns TableRendererUtils to allow method chaining
@private
Adds the given CSS class if no condition is given or the condition is truthy .