PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
mout
/
object
var hasOwn = require('./hasOwn'); var every = require('./every'); var isObject = require('../lang/isObject'); var is = require('../lang/is'); // Makes a function to compare the object values from the specified compare // operation callback. function makeCompare(callback) { return function(value, key) { return hasOwn(this, key) && callback(value, this[key]); }; } function checkProperties(value, key) { return hasOwn(this, key); } /** * Checks if two objects have the same keys and values. */ function equals(a, b, callback) { callback = callback || is; if (!isObject(a) || !isObject(b)) { return callback(a, b); } return (every(a, makeCompare(callback), b) && every(b, checkProperties, a)); } module.exports = equals;
[-] functions.js
[edit]
[-] forOwn.js
[edit]
[-] find.js
[edit]
[-] equals.js
[edit]
[-] omit.js
[edit]
[-] deepFillIn.js
[edit]
[-] fillIn.js
[edit]
[-] reduce.js
[edit]
[-] max.js
[edit]
[+]
..
[-] contains.js
[edit]
[-] unset.js
[edit]
[-] some.js
[edit]
[-] pluck.js
[edit]
[-] flatten.js
[edit]
[-] has.js
[edit]
[-] merge.js
[edit]
[-] bindAll.js
[edit]
[-] pick.js
[edit]
[-] min.js
[edit]
[-] get.js
[edit]
[-] deepMatches.js
[edit]
[-] mixIn.js
[edit]
[-] values.js
[edit]
[-] size.js
[edit]
[-] reject.js
[edit]
[-] forIn.js
[edit]
[-] hasOwn.js
[edit]
[-] map.js
[edit]
[-] namespace.js
[edit]
[-] filter.js
[edit]
[-] every.js
[edit]
[-] matches.js
[edit]
[-] result.js
[edit]
[-] deepMixIn.js
[edit]
[-] set.js
[edit]
[-] keys.js
[edit]