Reference · Marking, scores and game rules
DayKeytype
A day's name: four digits of year, two of month and two of day, such as 2026-10-01.
Import it
import type { DayKey } from "@johnmorrisdotca/kotoba";
Definition
type DayKey = string;
Examples
import type { DayKey } from "@johnmorrisdotca/kotoba";
const value: DayKey = "2026-10-12";
console.log(value);2026-10-12What it prints (run when this page was built)