Skip to content

Card.HasDefense

Source Code | Usage Examples | Card Functions

Returns true if a card currently has a defense (DEF) value.

Signature

Card.HasDefense(Card c) → bool

lua
c:HasDefense()

Parameters

  • Card c

    The card to check the DEF of.

Returns

  • bool

    If c currently has a DEF value.


card-check, def-related