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/pokersim2 documentation built on Jan. 15, 2020, 12:20 a.m.