suits: get suits of a collection of cards

Description Usage Arguments Examples

View source: R/build_deck.R

Description

get suits of a collection of cards

Usage

1
suits(x)

Arguments

x

a card from a deck made by 'build_deck'

Examples

1
2
3
d = build_deck()
d[1]
suits(d[1:2])

vjcitn/play4YES documentation built on Feb. 28, 2022, 12:48 a.m.