Reference · Tiles, layouts and deals
TileOrdertype
How a hand is put in order: as dealt, by suit then rank, by rank across the suits, by kind, or by the letters.
Import it
import type { TileOrder } from "@johnmorrisdotca/jarajara";
Definition
type TileOrder = "dealt" | "suit" | "rank" | "kind" | "code";
Examples
import type { TileOrder } from "@johnmorrisdotca/jarajara";
const value: TileOrder = "suit";
console.log(value);suitWhat it prints (run when this page was built)