Skip to main content
Module

x/lodash_es/mod.ts>invertBy

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

This method is like _.invert except that the inverted object is generated from the results of running each element of object thru iteratee. The corresponding inverted value of each inverted key is an array of keys responsible for generating the inverted value. The iteratee is invoked with one argument: (value).