# Function resolveGroupMajority

- resolveGroupMajority(
  row: { abstain: number; against: number; for: number } | undefined,
  ): VotePosition | null

  Resolve the plurality position of a group-breakdown row.

  Ties are broken alphabetically (ABSTAIN < AGAINST < FOR) so the result is deterministic and fixture-stable.

  #### Parameters

  - row: { abstain: number; against: number; for: number } | undefined

    DOCEO group-breakdown counts. `undefined` for groups absent from the vote.

  #### Returns VotePosition | null

  Plurality position or `null` when the row is missing or all zero.

  - Defined in utils/votingBaseline.ts:168