mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 07:17:50 +00:00
16 lines
354 B
JavaScript
16 lines
354 B
JavaScript
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;
|
|
});
|