[**European Parliament MCP Server API v1.3.9**](../../../../README.md)

***

[European Parliament MCP Server API](../../../../modules.md) / [clients/ep/jsonLdHelpers](../README.md) / determineVoteOutcome

# Function: determineVoteOutcome()

> **determineVoteOutcome**(`decisionStr`, `votesFor`, `votesAgainst`): `"ADOPTED"` \| `"REJECTED"`

Defined in: [clients/ep/jsonLdHelpers.ts:279](https://github.com/Hack23/European-Parliament-MCP-Server/blob/main/src/clients/ep/jsonLdHelpers.ts#L279)

Determines vote outcome from EP API decision string.

## Parameters

### decisionStr

`string`

Raw decision string from EP API

### votesFor

`number`

Number of votes for

### votesAgainst

`number`

Number of votes against

## Returns

`"ADOPTED"` \| `"REJECTED"`

`'ADOPTED'` or `'REJECTED'`
