motion
Version:
motion - moving development forward
15 lines (12 loc) • 331 B
JavaScript
var baseSortedUniqBy = require('./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);
}
module.exports = baseSortedUniq;