Function getNumDiscardedCopiesOfCard
getNumDiscardedCopiesOfCard( deck: readonly CardState[], suitIndex: 0 | 1 | 2 | 3 | 4 | 5, rank: 1 | 2 | 3 | 4 | 5 | 7,): number Parameters
- deck: readonly CardState[]
- suitIndex: 0 | 1 | 2 | 3 | 4 | 5
- rank: 1 | 2 | 3 | 4 | 5 | 7
Returns number
Returns how many cards of a specific suit/rank that have been already discarded.