mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 02:47:50 +00:00
Remove references to _.
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
import baseSortedIndexBy from './_baseSortedIndexBy.js';
|
||||
|
||||
/**
|
||||
* This method is like `_.sortedLastIndex` except that it accepts `iteratee`
|
||||
* This method is like `sortedLastIndex` except that it accepts `iteratee`
|
||||
* which is invoked for `value` and each element of `array` to compute their
|
||||
* sort ranking. The iteratee is invoked with one argument: (value).
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category Array
|
||||
* @param {Array} array The sorted array to inspect.
|
||||
@@ -18,7 +17,7 @@ import baseSortedIndexBy from './_baseSortedIndexBy.js';
|
||||
*
|
||||
* var objects = [{ 'x': 4 }, { 'x': 5 }];
|
||||
*
|
||||
* _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
|
||||
* sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
|
||||
* // => 1
|
||||
*/
|
||||
function sortedLastIndexBy(array, value, iteratee) {
|
||||
|
||||
Reference in New Issue
Block a user