Reference · Mazes, arrows and mixed boards
StoneOptiontype
What the stones option of mountMeikyuu takes: true for the defaults, or any of the rules (limit: null for no limit).
Import it
import type { StoneOption } from "@johnmorrisdotca/meikyuu";
Definition
type StoneOption = boolean | {
readonly limit?: number | null;
readonly reach?: number;
};
Examples
import type { StoneOption } from "@johnmorrisdotca/meikyuu";
const value: StoneOption = {limit:5,reach:1};
console.log(value);{ limit: 5, reach: 1 }What it prints (run when this page was built)