Reference · Cube engine and views
stageNamefunction
The name of a step of the solve, as a person would say it: "White cross", 「白のクロス」.
Import it
import { stageName } from "@johnmorrisdotca/kyuubu";
Definition
function stageName(stage: SolveStage, language?: KyuubuLanguage): string
Parameters
| Name | Type | Description |
|---|---|---|
stage | SolveStage | The stage of the layer-by-layer solving method. |
language (optional) | KyuubuLanguage | English or Japanese for the displayed words. |
Returns
string
The name of a step of the solve, as a person would say it: "White cross", 「白のクロス」.
Examples
import { stageName } from "@johnmorrisdotca/kyuubu";
console.log(stageName("whiteCross", "en"));White crossWhat it prints (run when this page was built)