lib/third_party/tracing/extras/rail/proto_ir.js
function(typeNames) {
      for (var i = 0; i < this.associatedEvents.length; ++i) {
        if (typeNames.indexOf(this.associatedEvents[i].typeName) >= 0)
          return true;
      }
      return false;
    }
function(typeNames) {
      for (var i = 0; i < this.associatedEvents.length; ++i) {
        if (typeNames.indexOf(this.associatedEvents[i].typeName) >= 0)
          return true;
      }
      return false;
    }
function ( typeNames ) { for ( var i = 0 ; i < this . associatedEvents . length ; ++ i ) { if ( typeNames . indexOf ( this . associatedEvents [ i ] . typeName ) >= 0 ) return true ; } return false ; }
Return true if any associatedEvent's typeName is in typeNames.
Return true if any associatedEvent s typeName is in typeNames .