compare

ERROR: No README.md file found!

compare

Compare each element in an array with every other element in the array.

npm install compare
var compare = require('compare')
 
compare([1, 1, 1, 1], function(ab) { return a === b }) // true 
compare([1, 2, 3, 4], function(ab) { return a !== b }) // true 
compare([1, 2, 3, 3], function(ab) { return a !== b }) // false