UNPKG

condorcet-winner

Version:

A simple condorcet vote algorithm implementation in typescript

2 lines (1 loc) 99 B
export declare function condorcetWinner(candidates: string[], ballots: string[][]): string | null;