@hanabi-live/game
Preparing search index...
getNumDiscardedCopiesOfCard
Function getNumDiscardedCopiesOfCard
getNumDiscardedCopiesOfCard
(
deck
:
readonly
CardState
[]
,
suitIndex
:
0
|
1
|
2
|
3
|
4
|
5
,
rank
:
1
|
2
|
3
|
4
|
5
|
7
,
)
:
number
Returns how many cards of a specific suit/rank that have been already discarded.
Parameters
deck
:
readonly
CardState
[]
suitIndex
:
0
|
1
|
2
|
3
|
4
|
5
rank
:
1
|
2
|
3
|
4
|
5
|
7
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@hanabi-live/game
Loading...
Returns how many cards of a specific suit/rank that have been already discarded.