waterline-postgresql
Version:
PostgreSQL Adapter for Sails and Waterline
15 lines (12 loc) • 332 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;