Skip to content

Card.HasCounter ​

Source Code | Usage Examples | Card Functions

Returns true if a card currently holds any amount of a specified counter.

Signature ​

Card.HasCounter(Card c, int ct) → bool

lua
c:HasCounter(ct)

Parameters ​

  • Card c ​

    The card to check the counters of.

  • int ct ​

    The type of counter to check for.

Returns ​

  • bool ​

    If c currently holds any amount of ct counters.


See Also ​


card-check