R/build_deck.R
suits.Rd
get suits of a collection of cards
suits(x)
a card from a deck made by `build_deck`
d = build_deck() d[1] #> [1] "2 ♡" suits(d[1:2]) #> [1] "♡" "♡"