Poker hand evaluator

Returns the hand's equivalence value. The evaluator orders hands from 1 to 7462. The lower the score is, the better it is.

You should pass five-hand or seven-hand poker cards.
A card contains one of '23456789TJQKA' followed by one of 'cdhs'. This is case-sensitive.

Score:
Hand value:

Based on Kevin L. Suffecool poker hand evaluator.