article property

String article

Indefinite article (to deal with "an eight, an ace")

Implementation

String get article {
  if (index == Rank.LowAce.index ||
      index == Rank.Eight.index ||
      index == Rank.Ace.index) return "an";
  return "a";
}