Share your code. Components are building blocks, you are the architect.

utils/equals
v1.1.0
1.1.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Returns `true` if its arguments are equivalent, `false` otherwise

Please configure Bit as a scoped registry to install components with NPM.Learn more

npm config set '@bit:registry' https://node.bitsrc.io
Use utils/equals in your project
npm i @bit/bit.ramda.utils.equals
Copied

equals (a:*, b:*) : Boolean

Returns true if its arguments are equivalent, false otherwise. Handles cyclical data structures.

Dispatches symmetrically to the equals methods of both arguments, if present.

Example

R.equals(1, 1); //=> true
     R.equals(1, '1'); //=> false
     R.equals([1, 2, 3], [1, 2, 3]); //=> true

     var a = {}; a.v = a;
     var b = {}; b.v = b;
     R.equals(a, b); //=> true

Arguments

a: *

b: *

Returns

Boolean