Latest
variable countBy
import { countBy } 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 corresponding value of each key is the number of times the key was returned by iteratee. The iteratee is invoked with one argument: (value).