Skip to content

Card.IsLevelBetween ​

Source Code | Usage Examples | Card Functions

Returns true if the level of a card is between two specified levels, inclusive.

Signature ​

Card.IsLevelBetween(Card c, int fst, int snd) → bool

lua
c:IsLevelBetween(fst,snd)

Parameters ​

  • Card c ​

    The card to check the level of.

  • int fst ​

    The first level.

  • int snd ​

    The second level.

Returns ​

  • bool ​

    If the level of c is between fst and snd.


See Also ​


card-check, level-related