Reference · Rules, tiles and records
tileWordsReadyfunction
Whether the list has been fetched yet, for a page to say "loading" rather than throw.
Import it
import { tileWordsReady } from "@johnmorrisdotca/kumimoji";
Definition
function tileWordsReady(language?: KumimojiLanguage): boolean
Parameters
| Name | Type | Description |
|---|---|---|
language (optional) | KumimojiLanguage | The English or Japanese tile language. |
Returns
boolean
Whether the list has been fetched yet, for a page to say "loading" rather than throw.
Examples
import { tileWordsReady } from "@johnmorrisdotca/kumimoji";
console.log(tileWordsReady("english"));falseWhat it prints (run when this page was built)