Skip to main content

evaluate_5

Function evaluate_5 

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

The strength of an exact five-card hand.

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