votes
    Preparing search index...

    Function groupBallots

    • Merges ballots with the same tiers, summing weights, heaviest first.

      Type Parameters

      • C extends string
      • B extends Ballot<C>

      Parameters

      • ballots: readonly B[]

      Returns B[]