Skip to content

Card.IsPreviousSequence

Source Code | Usage Examples | Card Functions

Returns true if a card was previously in a given sequence.

Signature

Card.IsPreviousSequence(Card c, int seq) → bool

lua
c:IsPreviousSequence(seq)

Parameters

  • Card c

    The card to check the previous sequence of.

  • int seq

    The sequence to check.

Returns

  • bool

    If the previous sequence of c is equal to seq.


card-check, sequence-and-zone, previous-property