Skip to content

Card.IsLevelBelow ​

Source Code | Usage Examples | Card Functions

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

Signature ​

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

lua
c:IsLevelBelow(min)

Parameters ​

  • Card c ​

    The card to check the level of.

  • int min ​

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

Returns ​

  • bool ​

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


See Also ​


card-check, level-related