Skip to content

Card.IsOwner

Source Code | Usage Examples | Card Functions

Returns true if a card is owned by a specified player.

Signature

Card.IsOwner(Card c, int player) → int

lua
c:IsOwner(player)

Parameters

  • Card c

    The card to check the owner of.

  • int player

    The player to check.

Returns

  • int

    If player is the owner of c


card-check