Reference · Cube engine and views
OptionKindtype
How a choice is made: a number in a range, on or off, one of a few, a colour, or text (moves are text with notation in it).
Import it
import type { OptionKind } from "@johnmorrisdotca/kyuubu";
Definition
type OptionKind = "number" | "boolean" | "choice" | "colour" | "text" | "moves";
Examples
import type { OptionKind } from "@johnmorrisdotca/kyuubu";
const value: OptionKind = "boolean";
console.log(value);booleanWhat it prints (run when this page was built)