src/sap.ui.core/src/sap/ui/performance/trace/Interaction.js
function(fnFilter) {
			var aFilteredInteractions = [];
			if (fnFilter) {
				for (var i = 0, l = aInteractions.length; i < l; i++) {
					if (fnFilter(aInteractions[i])) {
						aFilteredInteractions.push(aInteractions[i]);
					}
				}
			}
			return aFilteredInteractions;
		}
function(fnFilter) {
			var aFilteredInteractions = [];
			if (fnFilter) {
				for (var i = 0, l = aInteractions.length; i < l; i++) {
					if (fnFilter(aInteractions[i])) {
						aFilteredInteractions.push(aInteractions[i]);
					}
				}
			}
			return aFilteredInteractions;
		}
function ( fnFilter ) { var aFilteredInteractions = [ ] ; if ( fnFilter ) { for ( var i = 0 , l = aInteractions . length ; i < l ; i ++ ) { if ( fnFilter ( aInteractions [ i ] ) ) { aFilteredInteractions . push ( aInteractions [ i ] ) ; } } } return aFilteredInteractions ; }
Gets all interaction measurements for which a provided filter function returns a truthy value.

To filter for certain categories of measurements a fnFilter can be implemented like this
<code>
function(InteractionMeasurement) {
return InteractionMeasurement.duration > 0
}</code>
@param {function} fnFilter a filter function that returns true if the passed measurement should be added to the result
@return {object[]} all interaction measurements passing the filter function successfully
@static
@private
Gets all interaction measurements for which a provided filter function returns a truthy value .