votes
    Preparing search index...

    Function groupBallots

    • Group ballots by merging equivalent ballots (see isBallotEqual).

      Type Parameters

      • C extends string
      • B extends Ballot<C>

      Parameters

      • ballots: B[]

        ballots to group

      Returns B[]