mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Bump to v4.13.0.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import baseIteratee from './_baseIteratee';
|
||||
import baseSortedIndexBy from './_baseSortedIndexBy';
|
||||
import baseIteratee from './_baseIteratee.js';
|
||||
import baseSortedIndexBy from './_baseSortedIndexBy.js';
|
||||
|
||||
/**
|
||||
* This method is like `_.sortedLastIndex` except that it accepts `iteratee`
|
||||
@@ -18,8 +18,13 @@ import baseSortedIndexBy from './_baseSortedIndexBy';
|
||||
* into `array`.
|
||||
* @example
|
||||
*
|
||||
* var objects = [{ 'x': 4 }, { 'x': 5 }];
|
||||
*
|
||||
* _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });
|
||||
* // => 1
|
||||
*
|
||||
* // The `_.property` iteratee shorthand.
|
||||
* _.sortedLastIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x');
|
||||
* _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');
|
||||
* // => 1
|
||||
*/
|
||||
function sortedLastIndexBy(array, value, iteratee) {
|
||||
|
||||
Reference in New Issue
Block a user