Skip to main content

evaluate_7

Function evaluate_7 

Source
pub fn evaluate_7(cards: [Card; 7]) -> HandStrength
Expand description

The strength of the best five-card hand out of seven cards, e.g. two hole cards and a five-card board.

The seven cards must be distinct; repeated cards give a meaningless result and may panic.