isTeammate()
function isTeammate(player): boolean;Defined in: packages/data-providers/src/statsbomb/predicates.ts:106
360 freeze-frame predicates. teammate is already boolean, so isOpponent
is its negation — read as "not on the acting player's side", not "unknown
team": a 360 frame only ever tracks the 22 players actually on the pitch.
Parameters
| Parameter | Type |
|---|---|
player | StatsBombThreeSixtyPlayer |
Returns
boolean