exists_pair: Detects and return the existence of a pair

Description Usage Arguments Value

View source: R/exists_pair.R

Description

Detects and return the existence of a pair

Usage

1
exists_pair(cards)

Arguments

cards

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

Value

list containing a logical representing if there is a pair, and the pair itself if there is one.


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