Skip to content

Card.IsPreviousTypeOnField ​

Source Code | Usage Examples | Card Functions

Returns true if a card's previous card type on the field includes a given value(s).

Signature ​

Card.IsPreviousTypeOnField(Card c, int type) → bool

lua
c:IsPreviousTypeOnField(type)

Parameters ​

  • Card c ​

    The card to check the previous card type of.

  • int type ​

    Composite CardType values to check. The card only needs to have at least one of the given types, not all.

Returns ​

  • bool ​

    If the previous card type of c includes type.


card-check, card-type-related, previous-property