/* jshint node:true */

'use strict';

/**
 * Tests whether every 2-tuple in the array pass the test
 * implemented by the provided function.
 *
 * @param  {Array} array The array to iterate over
 * @param  {Function} callback The function to call with every 2-tuple
 * @param  {Boolean} thisArg Value to use as this when executing callback
 *
 * @return {Boolean}
 */
module.exports = function every2(callback, array, thisArg) {
  if(array.length < 2) {
    return true;
  }

  var length = array.length;

  for (var index = 1; index < length; index += 1) {
    if (!callback.call(thisArg, array[index - 1], array[index], index, array)) {
      return false;
    }
  }

  return true;
};

@@ -142,59 +142,8 @@
 %0A *%0A
- * @param  %7BArray%7D array The array to iterate over%0A
  * @
@@ -209,16 +209,67 @@
 2-tuple%0A
+ * @param  %7BArray%7D array The array to iterate over%0A
  * @para

change order of params in docblock