Skip to content

Card.IsLevel

Source Code | Card Functions

Returns true if the level of a card is equal to any of the specified levels

Signature

Card.IsLevel(Card c, int ...) → bool

lua
c:IsLevel(...)

Parameters

  • Card c

    The card to check the level of.

  • int ...

    The levels to check. There must be at least one.

Returns

  • bool

    If the level of c is equal to any of ....


card-check, level-related