(require("view/viz/getAllocation"))(electionResults) → {Object}
When there is just one winner,
sometimes the allocation isn't included in the election results.
Parameters:
Name | Type | Description |
---|---|---|
electionResults |
Object |
- Source:
Returns:
allocation
- Type
- Object