function isUsedAtLeaf(sName) {
				if (sName in oAggregation.group
						&& (!iLevel || oAggregation.groupLevels.indexOf(sName) < 0)) {
					return true; // "quick path"
				}

				return Object.keys(oAggregation.aggregate).some(function (sAlias) {
					return sName === oAggregation.aggregate[sAlias].unit;
				}) || Object.keys(oAggregation.group).some(function (sGroup) {
					return (!iLevel || oAggregation.groupLevels.indexOf(sGroup) < 0)
						&& isUsedFor(sName, sGroup);
				});
			}
/*
			 * Tells whether the given property name is used for some leaf group.
			 *
			 * @param {string} sName - A property name
			 * @returns {boolean} Whether it is used for some leaf group
			 */
Tells whether the given property name is used for some leaf group.
@param {string} sName - A property name
@returns {boolean} Whether it is used for some leaf group
Tells whether the given property name is used for some leaf group . @param { string } sName - A property name @returns { boolean } Whether it is used for some leaf group
function isUsedAtLeaf(sName) {
				if (sName in oAggregation.group
						&& (!iLevel || oAggregation.groupLevels.indexOf(sName) < 0)) {
					return true; 
				}
				return Object.keys(oAggregation.aggregate).some(function (sAlias) {
					return sName === oAggregation.aggregate[sAlias].unit;
				}) || Object.keys(oAggregation.group).some(function (sGroup) {
					return (!iLevel || oAggregation.groupLevels.indexOf(sGroup) < 0)
						&& isUsedFor(sName, sGroup);
				});
			}
function isUsedAtLeaf ( sName ) { if ( sName in oAggregation . group && ( ! iLevel || oAggregation . groupLevels . indexOf ( sName ) < 0 ) ) { return true ; } return Object . keys ( oAggregation . aggregate ) . some ( function ( sAlias ) { return sName === oAggregation . aggregate [ sAlias ] . unit ; } ) || Object . keys ( oAggregation . group ) . some ( function ( sGroup ) { return ( ! iLevel || oAggregation . groupLevels . indexOf ( sGroup ) < 0 ) && isUsedFor ( sName , sGroup ) ; } ) ; }
Tells whether the given property name is used for some leaf group.
Tells whether the given property name is used for some leaf group .
// "quick path"