suidoMarksfunction
A level's measured difficulty, 1 (easiest) to 5, or null for a level the marks do not have: read without loading the size's boards.
Import it
import { suidoMarks } from "@johnmorrisdotca/suido/levels";
Also exported from: @johnmorrisdotca/suido/levels-info
Definition
function suidoMarks(size: string, level: number): number | null
Parameters
| Name | Type | Description |
|---|---|---|
size | string | The native widthxheight size string, such as 5x5. |
level | number | The one-based level number. |
Returns
number | null
A level's measured difficulty, 1 (easiest) to 5, or null for a level the marks do not have: read without loading the size's boards.
Examples
import { suidoMarks } from "@johnmorrisdotca/suido/levels";
console.log(suidoMarks("5x5",1));1What it prints (run when this page was built)