Skip to content

Card.IsOriginalRank ​

Source Code | Usage Examples | Card Functions

Returns true if a card's original rank is equal to a given value.

Signature ​

Card.IsOriginalRank(Card c, int rank) → bool

lua
c:IsOriginalRank(rank)

Parameters ​

  • Card c ​

    The card to check the original rank of.

  • int rank ​

    The rank value to check.

Returns ​

  • bool ​

    If the original rank of c is equal to rank.


card-check, rank-related, original-property