RankDisplaytype
How a rank is written: A, 2…10, J, Q, K, and in a sentence.
Import it
import type { RankDisplay } from "@johnmorrisdotca/toranpu/deck";
Definition
type RankDisplay = {
short: string;
name: string;
};
Members
| Name | Type | Description |
|---|---|---|
short | string | |
name | string |
Examples
import type { RankDisplay } from "@johnmorrisdotca/toranpu/deck";
import { RANK_DISPLAY } from "@johnmorrisdotca/toranpu/deck";
const value: RankDisplay = RANK_DISPLAY[1];
console.log(value.short);AWhat it prints (run when this page was built)