CuboidReplayFault型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Why a cuboid replay could not be planned: which text would not read, where and why.
インポート
import type { CuboidReplayFault } from "@johnmorrisdotca/kyuubu/cuboid";
定義
type CuboidReplayFault = {
part: "dims" | "scramble" | "solution" | "length";
token?: string;
at?: number;
fault?: CuboidFault;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
part | "scramble" | "dims" | "solution" | "length" | |
token (省略可) | string | undefined | |
at (省略可) | number | undefined | |
fault (省略可) | CuboidFault | undefined |
例
import type { CuboidReplayFault } from "@johnmorrisdotca/kyuubu/cuboid";
const value: CuboidReplayFault = { part: "solution", token: "U", at: 0, fault: "half-turn-only" };
console.log(value.fault);half-turn-only出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。