discard( playerIndex: PlayerIndex, order: number, suitIndex: -1 | 0 | 1 | 2 | 3 | 4 | 5, rank: -1 | 1 | 2 | 3 | 4 | 5 | 7, failed: boolean,): ActionDiscard Parameters
- playerIndex: PlayerIndex
- order: number
- suitIndex: -1 | 0 | 1 | 2 | 3 | 4 | 5
- rank: -1 | 1 | 2 | 3 | 4 | 5 | 7
- failed: boolean
Helper functions to build a
ActionDiscard
with a compact syntax. For use in tests.