Skip to content

Card.IsLevelAbove

Source Code | Card Functions

Returns true if the level of a card is greater than or equal to a specified level.

Signature

Card.IsLevelAbove(Card c, int min) → bool

lua
c:IsLevelAbove(min)

Parameters

  • Card c

    The card to check the level of.

  • int min

    The minimum level. The level of c must be greater than or equal to this level.

Returns

  • bool

    If the level of c is greater than or equal to min.


See Also


card-check, level-related