Skip to main content
Module

x/lodash_es/mod.ts>keyBy

lodash for deno use
Latest
variable keyBy
import { keyBy } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

Creates an object composed of keys generated from the results of running each element of collection thru iteratee. The corresponding value of each key is the last element responsible for generating the key. The iteratee is invoked with one argument: (value).