Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 790 Bytes

public Result--getWinner.md

File metadata and controls

25 lines (14 loc) · 790 Bytes

public Result::getWinner

Read it at the source

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.


Related method(s)