1
0
This repository has been archived on 2023-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
dtux__serveur-vote-lalis/include/condorcet/Documentation/Result Class/public Result--getWinner.md
2022-09-21 14:01:45 +02:00

657 B

public Result::getWinner

Description

public Result->getWinner ( ): CondorcetPHP\Condorcet\Candidate|array|null

Equivalent to [Condorcet/Election::getWinner($method)](../Election Class/public Election--getWinner.md).

Return value:

(CondorcetPHP\Condorcet\Candidate|array|null) Candidate object given. Null if there are no available winner. You can get an array with multiples winners.