mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Remove references to _.
This commit is contained in:
@@ -2,11 +2,10 @@ import baseSortedIndex from './_baseSortedIndex.js';
|
||||
import eq from './eq.js';
|
||||
|
||||
/**
|
||||
* This method is like `_.indexOf` except that it performs a binary
|
||||
* This method is like `indexOf` except that it performs a binary
|
||||
* search on a sorted `array`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category Array
|
||||
* @param {Array} array The array to inspect.
|
||||
@@ -14,7 +13,7 @@ import eq from './eq.js';
|
||||
* @returns {number} Returns the index of the matched value, else `-1`.
|
||||
* @example
|
||||
*
|
||||
* _.sortedIndexOf([4, 5, 5, 5, 6], 5);
|
||||
* sortedIndexOf([4, 5, 5, 5, 6], 5);
|
||||
* // => 1
|
||||
*/
|
||||
function sortedIndexOf(array, value) {
|
||||
|
||||
Reference in New Issue
Block a user