Skip to content

Card.IsDiscardable

Source Code | Usage Examples | Card Functions

Checks if a card (Card c) can be discarded for (int reason).

Signature

Card.IsDiscardable(any Card, [int reason = REASON_COST]) → bool

lua
Card.IsDiscardable(Card,reason)

Parameters

  • any Card

    (To be added)

  • int reason

    Optional. Defaults to REASON_COST.

    (To be added)

Returns


under-construction