Skip to main content
Module

x/ts_morph/common/mod.ts>ArrayUtils.groupBy

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method ArrayUtils.groupBy
import { ArrayUtils } from "https://deno.land/x/ts_morph@17.0.1/common/mod.ts";

Parameters

items: ReadonlyArray<T>
getGroup: (item: T) => string | number