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

isKazuKindfunction

Whether a value is one of the six keys.

Import it

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

Definition

function isKazuKind(value: unknown): value is KazuKind

Parameters

NameTypeDescription
valueunknown

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

Returns

boolean

Whether a value is one of the six keys.

Examples

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

console.log(isKazuKind("number-place"));
true

What it prints (run when this page was built)

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