Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/sortedIndexOf.js";

This method is like _.indexOf except that it performs a binary search on a sorted array.

Examples

_.sortedIndexOf([4, 5, 5, 5, 6], 5); // => 1

Parameters

array

The array to inspect.

value

The value to search for.