declaredTwistsfunction
The twists a row declares, in the order the levels teach them. A word that is no twist is dropped; levels.test.ts holds each row's list to its board.
Import it
import { declaredTwists } from "@johnmorrisdotca/suido/levels";
Also exported from: @johnmorrisdotca/suido/levels-info
Definition
function declaredTwists(row: LevelRow): Twist[]
Parameters
| Name | Type | Description |
|---|---|---|
row | LevelRow | The board code, quarter-turn digits and declared twists of one shipped level. |
Returns
Twist[]
The twists a row declares, in the order the levels teach them. A word that is no twist is dropped; levels.test.ts holds each row's list to its board.
Examples
import { SUIDO_5X5 } from "@johnmorrisdotca/suido/levels-5x5";
import { declaredTwists } from "@johnmorrisdotca/suido/levels";
const row = SUIDO_5X5[0];
console.log(declaredTwists(row));[]What it prints (run when this page was built)