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

utils/symmetric-difference
v1.1.0
1.1.0
1.0.0
MIT
PUBLIC
3
Build: fail
BuildFail
Build Status: fail
Finds the set (i.e

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/symmetric-difference in your project
npm i @bit/bit.ramda.utils.symmetric-difference
Copied

symmetricDifference (list1:Array, list2:Array) : Array

Finds the set (i.e. no duplicates) of all elements contained in the first or second list, but not both.

Example

R.symmetricDifference([1,2,3,4], [7,6,5,4,3]); //=> [1,2,7,6,5]
     R.symmetricDifference([7,6,5,4,3], [1,2,3,4]); //=> [7,6,5,1,2]

Arguments

list1: Array

The first list.

list2: Array

The second list.

Returns

Array

The elements in `list1` or `list2`, but not both.