handRankCategoryOrder
Integer order 0..9 for evaluateHandCategory labels. Throws if unknown.
handRankCategoryOrder(category: string): number
Import
const poker = require('poker-calculations');
When to use
Use when sorting categories or building charts that need numeric ordering instead of string labels.
How to use
const order = poker.handRankCategoryOrder('flush'); // 5