suidoLevelsOffunction
A size already loaded, or a refusal: nothing answers for a list it does not have.
Import it
import { suidoLevelsOf } from "@johnmorrisdotca/suido/levels";
Definition
function suidoLevelsOf(size: string): readonly LevelRow[]
Parameters
| Name | Type | Description |
|---|---|---|
size | string | The native widthxheight size string, such as 5x5. |
Returns
readonly LevelRow[]
A size already loaded, or a refusal: nothing answers for a list it does not have.
Examples
import { loadSuidoLevels, suidoLevelsOf } from "@johnmorrisdotca/suido/levels";
await loadSuidoLevels("5x5");
console.log(suidoLevelsOf("5x5").length);256What it prints (run when this page was built)