Reference · Number-puzzle engines
isKazuSizefunction
Whether this puzzle can be made at this side.
Import it
import { isKazuSize } from "@johnmorrisdotca/kazu";
Definition
function isKazuSize(kind: KazuKind, size: number): boolean
Parameters
| Name | Type | Description |
|---|---|---|
kind | "number-place" | "jigsaw" | "diagonal" | "sum-cages" | "more-or-less" | "towers" | The native number-grid puzzle key. |
size | number | The supported square grid side length. |
Returns
boolean
Whether this puzzle can be made at this side.
Examples
import { isKazuSize } from "@johnmorrisdotca/kazu";
console.log(isKazuSize("number-place",4));trueWhat it prints (run when this page was built)