poker-variants-odds-calculator
Version:
Fastest and most accurate node module for calculating odds of poker games Texas Hold'em, Texas Shortdeck/Sixplus, Omaha, 5-Card Omaha and 6-Card.
10 lines (9 loc) • 429 B
TypeScript
import Card from "./Card";
import { IHand, Nullable } from "./Interfaces";
export declare module Log {
function PrintLn(l?: string, c?: Nullable<string>): void;
function color(l: string, c?: Nullable<string>): string;
}
export declare function toPercent(num: number): number;
export declare function CardsFromString(str: string): IHand;
export declare function flatUnique(nested: Array<Array<Card>>): Array<Array<Card>>;