groupBy<T>(arr: T[], groupKey: Exclude<keyof T, keyof {[ K in string | number | symbol as T[K] extends string | number ? never : K]: false}>): GroupByReturn<T>
根据属性名对参数一数组进行分组
Type Parameters
T
Parameters
arr: T[]
groupKey: Exclude<keyof T, keyof {[ K in string | number | symbol as T[K] extends string | number ? never : K]: false}>
根据属性名对参数一数组进行分组