deep-is
Last updated
Was this helpful?
Last updated
Was this helpful?
Node's assert.deepEqual() algorithm
as a standalone module. Exactly like except for the fact that deepEqual(NaN, NaN) === true
.
This module is around than wrapping assert.deepEqual()
in a try/catch
.
var deepIs = require('deep-is')
Compare objects a
and b
, returning whether they are equal according to a recursive equality algorithm.
Derived largely from node's assert module, which has the copyright statement:
Copyright (c) 2009 Thomas Robinson <280north.com>
Released under the MIT license, see LICENSE for details.
With do:
With do:
Copyright (c) 2012, 2013 Thorsten Lorenz Copyright (c) 2012 James Halliday