suidoBigLevelOffunction
The level a board is in the big-pieces set (1 to 64), once it is loaded, or null for a board no level has.
Import it
import { suidoBigLevelOf } from "@johnmorrisdotca/suido/levels";
Definition
function suidoBigLevelOf(board: string): number | null
Parameters
| Name | Type | Description |
|---|---|---|
board | string | The original native board code. |
Returns
number | null
The level a board is in the big-pieces set (1 to 64), once it is loaded, or null for a board no level has.
Examples
import { loadSuidoBigLevels, suidoBigLevelOf } from "@johnmorrisdotca/suido/levels";
import { SUIDO_BIG } from "@johnmorrisdotca/suido/levels-big";
await loadSuidoBigLevels();
console.log(suidoBigLevelOf(SUIDO_BIG[0][0]));1What it prints (run when this page was built)