Skip to content

Card.IsSpellTrap

Source Code | Usage Examples | Card Functions

Checks if a card is currently a Spell/Trap.

Signature

Card.IsSpellTrap(Card c) → bool

lua
c:IsSpellTrap()

Parameters

Returns

  • bool

    true if the card is currently a Spell/Trap, false otherwise.


card-check, card-type-related