Latest
variable groupBy
import { groupBy } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/collection.js";

Creates an object composed of keys generated from the results of running each element of collection thru iteratee. The order of grouped values is determined by the order they occur in collection. The corresponding value of each key is an array of elements responsible for generating the key. The iteratee is invoked with one argument: (value).