node package manager
Easy collaboration. Discover, share, and reuse code in your team. 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.