all-equal
v1.0.1
Published
all-equal
Downloads
4
Readme
all-equal
Abandon
===
, Use array to judge
install
# Install with npm
$ npm install all-equal --save
# Install with yarn
$ yarn add all-equal
# Install with bower
$ bower install all-equal --save
Usage
const allEqual = require('all-equal')
allEqual(['111', '222'], ['111', '333']) //=> false
allEqual(['111', '111'], ['111', '333']) //=> false
allEqual(['111', '111'], ['222', '222']) //=> true
allEqual(['111', '111', '111'], ['222', '222']) //=>true
allEqual(['111', '111', '111'], ['222', '222'], ['333', '333']) //=>true
Running tests
Install dev dependencies:
$ npm i -d && npm test
Contributing
| Commits | Contributor | | --- | --- | | 1 | Black-Hole |
Author
Black-Hole
- Email:[email protected]
- Blog:http://bugs.cc
- WeiBo:http://weibo.com/comelove
- Twitter:https://twitter.com/Free_BlackHole