is_flush: test for flush

Description Usage Arguments Examples

View source: R/poker.R

Description

test for flush

Usage

1

Arguments

x

a vector of cards

Examples

1
2
3
4
d = build_deck()
h1 = c(d[1:4], d[6])
h1
is_flush(h1)

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