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

utils/identical
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Returns true if its arguments are identical, 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/identical in your project
npm i @bit/bit.ramda.utils.identical
Copied

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

Returns true if its arguments are identical, false otherwise. Values are identical if they reference the same memory. NaN is identical to NaN; 0 and -0 are not identical.

Note this is merely a curried version of ES6 Object.is.

Example

var o = {};
     R.identical(o, o); //=> true
     R.identical(1, 1); //=> true
     R.identical(1, '1'); //=> false
     R.identical([], []); //=> false
     R.identical(0, -0); //=> false
     R.identical(NaN, NaN); //=> true

Arguments

a: *

b: *

Returns

Boolean