CuboidReplayFaulttype
Why a cuboid replay could not be planned: which text would not read, where and why.
Import it
import type { CuboidReplayFault } from "@johnmorrisdotca/kyuubu/cuboid";
Definition
type CuboidReplayFault = {
part: "dims" | "scramble" | "solution" | "length";
token?: string;
at?: number;
fault?: CuboidFault;
};
Members
| Name | Type | Description |
|---|---|---|
part | "scramble" | "dims" | "solution" | "length" | |
token (optional) | string | undefined | |
at (optional) | number | undefined | |
fault (optional) | CuboidFault | undefined |
Examples
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-onlyWhat it prints (run when this page was built)