KazuSpec型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What one puzzle offers.
インポート
import type { KazuSpec } from "@johnmorrisdotca/kazu";
定義
type KazuSpec = {
sizes: readonly number[];
defaultSize: number;
mostCells: number;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
sizes | readonly number[] | Every side it can be made at, smallest first. |
defaultSize | number | The side a first visit opens on. |
mostCells | number | The most characters one of its codes can hold, for a route to refuse anything larger. |
例
import type { KazuSpec } from "@johnmorrisdotca/kazu";
import { KAZU_SPECS } from "@johnmorrisdotca/kazu";
const value: KazuSpec = KAZU_SPECS["number-place"];
console.log(value);{ sizes: [ 4, 6, 9, 16, 25 ], defaultSize: 9, mostCells: 625 }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。