node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

mongo-eql

mongo-eql

Applies the MongoDB equality semantics for a comparison between two datastructures.

Example

eql(null, undefined) // true 
eql({}, {}) // true 

API

eql(a, b):Boolean

Compares a with b and returns true or false.