Skip to the content

Kazu数

Generate checked Sudoku and logic puzzles, read native rules and hints, and draw or embed playable boards.

Kazu is the Japanese word 数 for number. About the name

Contents

Reference · Number-puzzle engines

symbolOffunction

How a value is written, in a code and on a cell: 1–9, then A–P.

Import it

import { symbolOf } from "@johnmorrisdotca/kazu";

Definition

function symbolOf(value: number): string

Parameters

NameTypeDescription
valuenumber

The value to validate, encode or enter specified by this signature.

Returns

string

How a value is written, in a code and on a cell: 1–9, then A–P.

Examples

import { symbolOf } from "@johnmorrisdotca/kazu";

console.log(symbolOf(10));
A

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kazu 2.1.0.