compare

ERROR: No README.md file found!

npm install compare
1 downloads in the last week
5 downloads in the last month

compare

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

Installation

npm install compare

Usage

var compare = require('compare')

compare([1, 1, 1, 1], function(a, b) { return a === b }) // true
compare([1, 2, 3, 4], function(a, b) { return a !== b }) // true
compare([1, 2, 3, 3], function(a, b) { return a !== b }) // false
npm loves you