stepEntry関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The number a tap on the chosen cell puts in it: one more, and after the largest the cell empties, and then it starts again at 1. A tap on a cell that is not chosen still only chooses it.
インポート
import { stepEntry } from "@johnmorrisdotca/kazu";
定義
function stepEntry(value: number, size: number): number
引数
| 名前 | 型 | 説明 |
|---|---|---|
value | number | The value to validate, encode or enter specified by this signature. |
size | number | The supported square grid side length. |
戻り値
number
The number a tap on the chosen cell puts in it: one more, and after the largest the cell empties, and then it starts again at 1. A tap on a cell that is not chosen still only chooses it.
例
import { stepEntry } from "@johnmorrisdotca/kazu";
console.log(stepEntry(4,4));0出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。