Function groupBy

  • Description

    将数据分组

    Returns

    Parameters

    • list: Record<string, any>[]

      数据源

    • key: string

      分组依据字段

    Returns {
        group: Record<string, Record<string, string>[]>;
        keys: string[];
    }

    • group: Record<string, Record<string, string>[]>
    • keys: string[]

Generated using TypeDoc