Skip to content

Card.IsDestination ​

Source Code | Usage Examples | Card Functions

Returns true if a card would be sent to a given location (e.g. when it would be destroyed).

Signature ​

Card.IsDestination(Card c, int loc) → int

lua
c:IsDestination(loc)

Parameters ​

Returns ​

  • int ​

    If c would be sent to loc.


card-check