Card Type
The Card Type Data Model describes the properties of any possible subtypes and supertypes of a CardType Data Model.
- Parent model: CardTypes
- Parent property:
artifact
,conspiracy
,creature
,enchantment
,instant
,land
,phenomenon
,plane
,planeswalker
,scheme
,sorcery
,tribal
,vanguard
TypeScript Model
Toggle Model
TypeScript
export type CardType = {
subTypes: string[];
superTypes: string[];
};
Model Properties
subTypes
A list of subtypes associated to a card property.
- Type:
string[]
- Introduced:
v4.0.0
superTypes
A list of supertypes associated to a card property.
- Type:
string[]
- Introduced:
v4.0.0