src/sap.ui.fl/src/sap/ui/fl/variants/util/VariantUtil.js
function(oComponent) {
			var aTechnicalParameters = flUtils.getTechnicalParametersForComponent(oComponent);
			return aTechnicalParameters
				&& aTechnicalParameters[VariantUtil.variantTechnicalParameterName]
				&& Array.isArray(aTechnicalParameters[VariantUtil.variantTechnicalParameterName])
				&& aTechnicalParameters[VariantUtil.variantTechnicalParameterName][0];
		}
function(oComponent) {
			var aTechnicalParameters = flUtils.getTechnicalParametersForComponent(oComponent);
			return aTechnicalParameters
				&& aTechnicalParameters[VariantUtil.variantTechnicalParameterName]
				&& Array.isArray(aTechnicalParameters[VariantUtil.variantTechnicalParameterName])
				&& aTechnicalParameters[VariantUtil.variantTechnicalParameterName][0];
		}
function ( oComponent ) { var aTechnicalParameters = flUtils . getTechnicalParametersForComponent ( oComponent ) ; return aTechnicalParameters && aTechnicalParameters [ VariantUtil . variantTechnicalParameterName ] && Array . isArray ( aTechnicalParameters [ VariantUtil . variantTechnicalParameterName ] ) && aTechnicalParameters [ VariantUtil . variantTechnicalParameterName ] [ 0 ] ; }
Returns control variant technical parameter for the passed component.

@param  {object} oComponent - Component instance used to get the technical parameters
@returns {string|undefined} Returns the control variant technical parameter
Returns control variant technical parameter for the passed component .