lib/ConnectSequence.js
function appendListIf (filter, middlewares) {
  var args = [filter]
  for (var i = 0; i < middlewares.length; i++) {
    args.push(middlewares[i])
  }
  return this.appendIf.apply(this, args)
}
function appendListIf (filter, middlewares) {
  var args = [filter]
  for (var i = 0; i < middlewares.length; i++) {
    args.push(middlewares[i])
  }
  return this.appendIf.apply(this, args)
}
function appendListIf ( filter , middlewares ) { var args = [ filter ] for ( var i = 0 ; i < middlewares . length ; i ++ ) { args . push ( middlewares [ i ] ) } return this . appendIf . apply ( this , args ) }
A middleware filter function run at the middleware runtime, causing the middleware or middleware list should be ran or skiped
@callback middlewareFilter
@param {IncomingMessage} req The express request object
@returns {Boolean}
 
Append an arbitrary number of middlewares as an array if the filter pass at runtime of the first middleware in the given list
@method
@memberof ConnectSequence.prototype
@param {middlewareFilter} filter A filter function on the req object
@param {Array<Function>} middlewares An array of middleware functions (or errorHandler middlewares)
@returns {ConnectSequence} a reference to the instance to be chainable
A middleware filter function run at the middleware runtime causing the middleware or middleware list should be ran or skiped