WORDS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The cube's words in both languages. STRINGS in strings.ts is these and the command line's together.
インポート
import { WORDS } from "@johnmorrisdotca/kyuubu";
定義
const WORDS: Readonly<Record<KyuubuLanguage, CubeWords>>
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
en | CubeWords | |
ja | CubeWords |
例
import { WORDS } from "@johnmorrisdotca/kyuubu";
console.log(Object.keys(WORDS.en).slice(0, 5));[ 'cubeLabel', 'solved', 'notSolved', 'stageHold', 'stageWhiteCross' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。