PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
mout
/
array
var is = require('../lang/is'); var isArray = require('../lang/isArray'); var every = require('./every'); /** * Compares if both arrays have the same elements */ function equals(a, b, callback){ callback = callback || is; if (!isArray(a) || !isArray(b)) { return callback(a, b); } if (a.length !== b.length) { return false; } return every(a, makeCompare(callback), b); } function makeCompare(callback) { return function(value, i) { return i in this && callback(value, this[i]); }; } module.exports = equals;
[-] compact.js
[edit]
[-] find.js
[edit]
[-] equals.js
[edit]
[-] union.js
[edit]
[-] intersection.js
[edit]
[-] shuffle.js
[edit]
[-] reduce.js
[edit]
[-] max.js
[edit]
[+]
..
[-] collect.js
[edit]
[-] unique.js
[edit]
[-] combine.js
[edit]
[-] split.js
[edit]
[-] contains.js
[edit]
[-] forEach.js
[edit]
[-] some.js
[edit]
[-] pluck.js
[edit]
[-] insert.js
[edit]
[-] flatten.js
[edit]
[-] lastIndexOf.js
[edit]
[-] findLastIndex.js
[edit]
[-] take.js
[edit]
[-] append.js
[edit]
[-] removeAll.js
[edit]
[-] reduceRight.js
[edit]
[-] pick.js
[edit]
[-] min.js
[edit]
[-] groupBy.js
[edit]
[-] zip.js
[edit]
[-] toLookup.js
[edit]
[-] indexOf.js
[edit]
[-] findLast.js
[edit]
[-] slice.js
[edit]
[-] reject.js
[edit]
[-] range.js
[edit]
[-] remove.js
[edit]
[-] sortBy.js
[edit]
[-] last.js
[edit]
[-] sort.js
[edit]
[-] map.js
[edit]
[-] findIndex.js
[edit]
[-] reverse.js
[edit]
[-] join.js
[edit]
[-] filter.js
[edit]
[-] every.js
[edit]
[-] invoke.js
[edit]
[-] difference.js
[edit]
[-] xor.js
[edit]