PitchKit
API Reference@pitchkit/data-providersmetricaFunctions

isOwnGoal()

function isOwnGoal(event): boolean;

Defined in: packages/data-providers/src/metrica/predicates.ts:69

An own goal: a BALL OUT qualified GOAL, which Metrica define as "the player strikes or deflects the ball into their own team's goal". Team is the side that conceded.

Sample Game 1 has one, by Home, and the next kick-off is Home's: that is the away side's only goal, in a 3-1 game.

Parameters

ParameterType
eventMetricaEvent

Returns

boolean

On this page