Skip to content

Duel.GetCardTypeFromCode

Duel Functions

Gets a card's type from its card id (the value returned is the same as the one returned with Card.Type on a card object corresponding to a card with such id)

Signature

Duel.GetCardTypeFromCode(int code) → int

lua
Duel.GetCardTypeFromCode(code)

Parameters

Returns


under-construction