Provides card data related to sort order for rarity and card category.

Index

Methods

  • Returns the card category sort name for SortedKind.

    Parameters

    Returns string

    The kind category: W, U, B, R, G, Multicolor, Artifact (Colorless), Non-artifact (Colorless), Land, or Land (Basic).

  • Return the sorted format card rarity.

    Note: For just the oldschool & premodern formats use original rarity otherwise for all other formats use recent rarity. Fallback if necessary to the actual card rarity.

    Parameters

    • card: Card
    • Optionalformat: GameFormat

      Specific game format. When omitted card.rarity is returned.

    Returns string