lib/ConnectSequence.js
function appendList (middlewares) {
  if (!Array.isArray(middlewares)) {
    var errorMsg = 'First argument must be an array of middlewares. '
    errorMsg += typeof middlewares + ' given.'
    throw new TypeError(errorMsg)
  }
  return this.append.apply(this, middlewares)
}
function appendList (middlewares) {
  if (!Array.isArray(middlewares)) {
    var errorMsg = 'First argument must be an array of middlewares. '
    errorMsg += typeof middlewares + ' given.'
    throw new TypeError(errorMsg)
  }
  return this.append.apply(this, middlewares)
}
function appendList ( middlewares ) { if ( ! Array . isArray ( middlewares ) ) { var errorMsg = 'First argument must be an array of middlewares. ' errorMsg += typeof middlewares + ' given.' throw new TypeError ( errorMsg ) } return this . append . apply ( this , middlewares ) }
Append an arbitrary number of middlewares as an array
@method
@memberof ConnectSequence.prototype
@param {Array<Function>} middlewares An array of middleware functions (or errorHandler middlewares)
@returns {ConnectSequence} a reference to the instance to be chainable
Append an arbitrary number of middlewares as an array