mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Bump to v4.13.0.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import baseUniq from './_baseUniq';
|
||||
import baseUniq from './_baseUniq.js';
|
||||
|
||||
/**
|
||||
* This method is like `_.uniq` except that it accepts `comparator` which
|
||||
@@ -14,7 +14,7 @@ import baseUniq from './_baseUniq';
|
||||
* @returns {Array} Returns the new duplicate free array.
|
||||
* @example
|
||||
*
|
||||
* var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];
|
||||
* var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];
|
||||
*
|
||||
* _.uniqWith(objects, _.isEqual);
|
||||
* // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]
|
||||
|
||||
Reference in New Issue
Block a user