function aggregate(accum, play) {
    if (play.type === types.DRIVE) {
      return accum.concat(play.events.filter(isRush));
    } else {
      return accum;
    }
  }
/**
   * Filters and concatenates all rush events within a given play-by-play
   * @param  {array}  accum - The accumulating array of rush events
   * @param  {object} play  - A play object containing an array of events
   * @return {array}          An array of rush events
   */
Filters and concatenates all rush events within a given play-by-play
@param  {array}  accum - The accumulating array of rush events
@param  {object} play  - A play object containing an array of events
@return {array}          An array of rush events
Filters and concatenates all rush events within a given play - by - play @param { array } accum - The accumulating array of rush events @param { object } play - A play object containing an array of events @return { array } An array of rush events
function aggregate(accum, play) {
    if (play.type === types.DRIVE) {
      return accum.concat(play.events.filter(isRush));
    } else {
      return accum;
    }
  }
function aggregate ( accum , play ) { if ( play . type === types . DRIVE ) { return accum . concat ( play . events . filter ( isRush ) ) ; } else { return accum ; } }
Filters and concatenates all rush events within a given play-by-play
 @param  {array}  accum - The accumulating array of rush events
 @param  {object} play  - A play object containing an array of events
 @return {array}          An array of rush events
Filters and concatenates all rush events within a given play - by - play @param { array } accum - The accumulating array of rush events @param { object } play - A play object containing an array of events @return { array } An array of rush events