Optional arrays: null | List<T>The arrays to inspect.
Optional comparator: Comparator<T>The comparator invoked per element.
Returns the new array of combined values.
_.unionWith
Optional comparator: Comparator<T>_.unionWith
Rest ...comparator: (undefined | null | List<T> | Comparator<T>)[]Generated using TypeDoc
This method is like
_.unionexcept that it acceptscomparatorwhich is invoked to compare elements ofarrays. The comparator is invoked with two arguments: (arrVal, othVal).Example