@hanabi-live/game
    Preparing search index...

    Function getNumCopiesOfCard

    • Returns how many copies of this card should exist in the deck.

      This implementation mirrors the native deck rules in "server/engine/src/catalog.rs".

      Parameters

      • suit: Suit
      • rank: 1 | 2 | 3 | 4 | 5 | 7
      • variant: Variant

      Returns number