exists_n_kind: Detects and return the existence of nKind

Description Usage Arguments Value

View source: R/exists_n_kind.R

Description

Detects and return the existence of nKind

Usage

1
exists_n_kind(cards, n)

Arguments

cards

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

Value

A list containing a logical representing if there is a flush, and the n-kind itself if there is one.


dfcorbin/pokersim documentation built on Nov. 13, 2019, 4:21 p.m.