Reference · Marking, scores and game rules
WordGameRefusaltype
Why a guess was not taken: it was too short, or the list does not have the word.
Import it
import type { WordGameRefusal } from "@johnmorrisdotca/kotoba";
Definition
type WordGameRefusal = "too-short" | "not-a-word";
Examples
import type { WordGameRefusal } from "@johnmorrisdotca/kotoba";
const value: WordGameRefusal = "not-a-word";
console.log(value);not-a-wordWhat it prints (run when this page was built)