PR pixi-reels

countSymbol()

pixi-reels


pixi-reels / testing / countSymbol

Function: countSymbol()

function countSymbol(reelSet: ReelSet, symbolId: string): number;

Defined in: testing/testHarness.ts:228

Count how many times a given symbol appears in the visible grid. Handy for scatter/wild-count assertions.

Parameters

ParameterType
reelSetReelSet
symbolIdstring

Returns

number