Skip to content

Card.IsReason ​

Source Code | Usage Examples | Card Functions

Checks if the reason for an event that happened to "c" is "reason" (REASON_x).

Signature ​

Card.IsReason(Card c, int reason) → bool

lua
c:IsReason(reason)

Parameters ​

Returns ​


under-construction