isCard property
Is this an actual card (and not None or an invalid number)?
Implementation
bool get isCard {
return index >= Card.WhiteJoker.index && index <= Card.AceOfSpades.index;
}
Is this an actual card (and not None or an invalid number)?
bool get isCard {
return index >= Card.WhiteJoker.index && index <= Card.AceOfSpades.index;
}