mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Bump to v4.1.0.
This commit is contained in:
15
_baseSortedUniq.js
Normal file
15
_baseSortedUniq.js
Normal file
@@ -0,0 +1,15 @@
|
||||
define(['./_baseSortedUniqBy'], function(baseSortedUniqBy) {
|
||||
|
||||
/**
|
||||
* The base implementation of `_.sortedUniq`.
|
||||
*
|
||||
* @private
|
||||
* @param {Array} array The array to inspect.
|
||||
* @returns {Array} Returns the new duplicate free array.
|
||||
*/
|
||||
function baseSortedUniq(array) {
|
||||
return baseSortedUniqBy(array);
|
||||
}
|
||||
|
||||
return baseSortedUniq;
|
||||
});
|
||||
Reference in New Issue
Block a user