mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Remove references to _.
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import baseSortedUniq from './_baseSortedUniq.js';
|
||||
|
||||
/**
|
||||
* This method is like `_.uniqBy` except that it's designed and optimized
|
||||
* This method is like `uniqBy` 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.
|
||||
@@ -13,7 +12,7 @@ import baseSortedUniq from './_baseSortedUniq.js';
|
||||
* @returns {Array} Returns the new duplicate free array.
|
||||
* @example
|
||||
*
|
||||
* _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);
|
||||
* sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);
|
||||
* // => [1.1, 2.3]
|
||||
*/
|
||||
function sortedUniqBy(array, iteratee) {
|
||||
|
||||
Reference in New Issue
Block a user