Reference · Numbered puzzle levels
levelCountfunction
How many levels a kind has.
Import it
import { levelCount } from "@johnmorrisdotca/meikyuu/levels";
Definition
function levelCount(kind: MeikyuuKind): number
Parameters
| Name | Type | Description |
|---|---|---|
kind | "maze" | "arrows" | "mixed" | The native puzzle family or surface shape specified by this signature. |
Returns
number
How many levels a kind has.
Examples
import { levelCount } from "@johnmorrisdotca/meikyuu/levels";
console.log(levelCount("maze"));1024What it prints (run when this page was built)