PitchKit
API Reference@pitchkit/data-providerswyscoutFunctions

isGoal()

function isGoal(event): boolean;

Defined in: packages/data-providers/src/wyscout/predicates.ts:129

Was this a goal?

Applies to the event that produced it — but note the same tag also sits on the conceding keeper's Save attempt, so filter shots() rather than the whole feed unless you want both sides of each goal. See shots.

Parameters

ParameterType
eventWyscoutEvent

Returns

boolean

On this page