mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Bump to v4.16.5.
This commit is contained in:
@@ -27,9 +27,7 @@ import last from './last.js';
|
||||
*/
|
||||
var unionWith = baseRest(function(arrays) {
|
||||
var comparator = last(arrays);
|
||||
if (isArrayLikeObject(comparator)) {
|
||||
comparator = undefined;
|
||||
}
|
||||
comparator = typeof comparator == 'function' ? comparator : undefined;
|
||||
return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user