Latest
function sortedLastIndexOf
import { sortedLastIndexOf } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/mod.ts";

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

Examples

_.sortedLastIndexOf([4, 5, 5, 5, 6], 5); // => 3

Parameters

array

The array to inspect.

value

The value to search for.