mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Bump to v4.13.0.
This commit is contained in:
@@ -14,8 +14,8 @@ var baseSortedIndex = require('./_baseSortedIndex'),
|
||||
* @returns {number} Returns the index of the matched value, else `-1`.
|
||||
* @example
|
||||
*
|
||||
* _.sortedIndexOf([1, 1, 2, 2], 2);
|
||||
* // => 2
|
||||
* _.sortedIndexOf([4, 5, 5, 5, 6], 5);
|
||||
* // => 1
|
||||
*/
|
||||
function sortedIndexOf(array, value) {
|
||||
var length = array ? array.length : 0;
|
||||
|
||||
Reference in New Issue
Block a user