Module

x/ts_morph/common/ts_morph_common.d.ts>ArrayUtils.groupBy

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Go to Latest
method ArrayUtils.groupBy
import { ArrayUtils } from "https://dotland.deno.dev/x/ts_morph@21.0.0/common/ts_morph_common.d.ts";

Parameters

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