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

This method is like _.uniqBy except that it's designed and optimized for sorted arrays.

Examples

_.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); // => [1.1, 2.3]

Parameters

array

The array to inspect.

iteratee