Reference · Rules, tiles and records
mixShownfunction
A language's set as a page shows it: every tile with its count, the total, and which are the rarest and the commonest.
Import it
import { mixShown } from "@johnmorrisdotca/kumimoji";
Definition
function mixShown(language: KumimojiLanguage): MixShown
Parameters
| Name | Type | Description |
|---|---|---|
language | KumimojiLanguage | The English or Japanese tile language. |
Returns
MixShown
A language's set as a page shows it: every tile with its count, the total, and which are the rarest and the commonest.
Examples
import { mixShown } from "@johnmorrisdotca/kumimoji";
import { loadTileWordsFromModule } from "@johnmorrisdotca/kumimoji/words";
await loadTileWordsFromModule("english");
console.log(mixShown("english").total);144What it prints (run when this page was built)