Skip to content

Card.IsPreviousRankOnField

Source Code | Card Functions

Returns true if a card's previous rank on the field is equal to a given value.

Signature

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

lua
c:IsPreviousRankOnField(rank)

Parameters

  • Card c

    The card to check the previous rank of.

  • int rank

    The rank value to check.

Returns

  • bool

    If the previous rank of c is equal to rank.


card-check, rank-related, previous-property