# Function determineVoteOutcome

- determineVoteOutcome(
  decisionStr: string,
  votesFor: number,
  votesAgainst: number,
  ): "ADOPTED" | "REJECTED"

  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'`

  - Defined in clients/ep/jsonLdHelpers.ts:279