Skip to content

Card.IsFieldID

Source Code | Usage Examples | Card Functions

Returns true if a given value is equal to a card's current location ID, a value assigned to a card whenever it changes locations.

Signature

Card.IsFieldID(Card c, int fid) → bool

lua
c:IsFieldID(fid)

Parameters

  • Card c

    The card to check the current location ID of.

  • int fid

    The value to check.

Returns

  • bool

    If the current location ID of c is equal to fid.


See Also


card-check