tileFace関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What a tile code shows, read without the word list: its letter or kana, its corner forms, and whether it is a wild.
インポート
import { tileFace } from "@johnmorrisdotca/kumimoji";
定義
function tileFace(tile: string): TileFaceOf
引数
| 名前 | 型 | 説明 |
|---|---|---|
tile | string | The internal tile code to describe. |
戻り値
TileFaceOf
What a tile code shows, read without the word list: its letter or kana, its corner forms, and whether it is a wild.
例
import { tileFace } from "@johnmorrisdotca/kumimoji";
console.log(tileFace("A"));{ glyph: 'a', forms: '', wild: true, blank: false }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。