substack/node-deep-equal — pull request #3 by arunoda (2013-03-27 02:29:49+00:00)
Title: Added constructor check

Sometime we need to check only the type of the value. See the below example.

~~~js
deepEqual(
{ a : 'str', b: 10, c: [10, true], d: {k: [1121, 2323], d: Number} },
{ a : String, b: Number, c: [Number, Boolean] , d: {k: Array, d: 10} }
)
~~~