votes
Preparing search index...
groupBallots
Function groupBallots
groupBallots
<
C
extends
string
,
B
extends
Ballot
<
C
>
>
(
ballots
:
readonly
B
[]
)
:
B
[]
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
[]
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
votes
Loading...
Merges ballots with the same tiers, summing weights, heaviest first.