vira - v31.31.7
    Preparing search index...

    Function buildClusters

    • Groups a flat list of tabs into clusters. Consecutive tabs sharing the same group string are merged into a single cluster; ungrouped tabs (and tabs whose group differs from their predecessor) each start a new cluster.

      Parameters

      • tabList: readonly Readonly<ViraTab>[]

      Returns { group: string | undefined; tabs: readonly Readonly<ViraTab>[] }[]