compare
ERROR: No README.md file found!
Last updated 12 years ago by hughsk .
MIT · Repository · Original npm · Tarball · package.json
$ npm install compare 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.0                                ...           latest (7 years ago)

2 Versions

  • 2.0.0                                ...           7 years ago
  • 0.0.1                                ...           12 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE