mergeUnique<T> function

List<T> mergeUnique<T>(
  1. List<T> list1,
  2. List<T> list2,
  3. IsEqual isEqual
)

Implementation

List<T> mergeUnique<T>(List<T> list1, List<T> list2, IsEqual isEqual) =>
    removeDuplicates(merge(list1, list2), isEqual);