How to use the union function from ramda

Find comprehensive JavaScript ramda.union code examples handpicked from public code repositorys.

6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
* @param {Function} pred A predicate used to test whether two items are equal.
* @param {Array} list1 The first list.
* @param {Array} list2 The second list.
* @return {Array} The first and second lists concatenated, with
*         duplicates removed.
* @see R.union
* @example
*
*      var l1 = [{a: 1}, {a: 2}];
*      var l2 = [{a: 1}, {a: 4}];
fork icon0
star icon0
watch icon0

+ 35 other calls in file

Other functions in ramda

Sorted by popularity

function icon

ramda.clone is the most popular function in ramda (30311 examples)