CrossSumsCelltype
A white digit cell or a black clue cell with optional across/down totals.
Import it
import type { CrossSumsCell } from "@johnmorrisdotca/kazu/cross-sums";
Also exported from: @johnmorrisdotca/kazu
Definition
type CrossSumsCell = {
kind: "white";
} | {
kind: "black";
across: number | null;
down: number | null;
};
Examples
import type { CrossSumsCell } from "@johnmorrisdotca/kazu/cross-sums";
const value: CrossSumsCell = {kind:"white"};
console.log(value);{ kind: 'white' }What it prints (run when this page was built)