Skip to content

Card.IsPreviousCodeOnField

Source Code | Usage Examples | Card Functions

Returns true if a card's previous passcode on the field is equal to a given value.

Signature

Card.IsPreviousCodeOnField(Card c, int code) → bool

lua
c:IsPreviousCodeOnField(code)

Parameters

  • Card c

    The card to check the previous passcode of.

  • int code

    The passcode to check.

Returns

  • bool

    If the previous passcode of c is equal to passcode.


card-check, passcode-related, previous-property