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

    Function getSuitAbbreviationForVariant

    • Given an existing variant, find the suit abbreviation for a suit. (Suit abbreviations are dynamic and depend on the specific variant.)

      It is possible for this function to take in the "Unknown" suit, so we want to provide a fallback without throwing an error.

      Parameters

      Returns string