get_suit: Retrieve cards of specified suit.

Description Usage Arguments Value

View source: R/get_suit.R

Description

Retrieve cards of specified suit.

Usage

1
get_suit(cards, suit)

Arguments

cards

A list of objects of the S4 class 'card'.

suit

A string of the name of the suit to retain. The first letter must be a capital.

Value

A list containing all cards of the specified suit.


dfcorbin/pokersim2 documentation built on Jan. 15, 2020, 12:20 a.m.