open_pql/functions/
hand_type.rs

1use super::*;
2#[pqlfn(arg, rtn, eval)]
3pub fn hand_type(
4    hand: &Hand,
5    street: PQLStreet,
6    (game, board): (PQLGame, Board),
7) -> PQLHandType {
8    hi_rating(hand, street, (game, board)).to_hand_type(game)
9}