Reference · Tiles, layouts and deals
faceWordsJafunction
What a face is called in Japanese: 三萬, 五筒, 七索, 東, 中, 梅, 春.
Import it
import { faceWordsJa } from "@johnmorrisdotca/jarajara";
Definition
function faceWordsJa(face: MahjongFace): string
Parameters
| Name | Type | Description |
|---|---|---|
face | MahjongFace | The decoded suit and rank of one tile face. |
Returns
string
What a face is called in Japanese: 三萬, 五筒, 七索, 東, 中, 梅, 春.
Examples
import { faceOf, faceWordsJa } from "@johnmorrisdotca/jarajara";
const face = faceOf("a")!;
console.log(faceWordsJa(face));一萬What it prints (run when this page was built)