diff options
Diffstat (limited to 'school/node_modules/lodash/sortedUniq.js')
-rw-r--r-- | school/node_modules/lodash/sortedUniq.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/school/node_modules/lodash/sortedUniq.js b/school/node_modules/lodash/sortedUniq.js deleted file mode 100644 index 866db31..0000000 --- a/school/node_modules/lodash/sortedUniq.js +++ /dev/null @@ -1,24 +0,0 @@ -var baseSortedUniq = require('./_baseSortedUniq'); - -/** - * This method is like `_.uniq` except that it's designed and optimized - * for sorted arrays. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.sortedUniq([1, 1, 2]); - * // => [1, 2] - */ -function sortedUniq(array) { - return (array && array.length) - ? baseSortedUniq(array) - : []; -} - -module.exports = sortedUniq; |