HeldControltype
A lateral or soft-drop control which the input scheduler can repeat.
Import it
import type { HeldControl } from "@johnmorrisdotca/houseki/colour-chains";
Definition
type HeldControl = 'left' | 'right' | 'soft-drop';
Examples
import type { HeldControl } from "@johnmorrisdotca/houseki/colour-chains";
const value: HeldControl = "left";
console.log(value == null ? value : typeof value === "object" ? Object.keys(value).slice(0,6) : value);leftWhat it prints (run when this page was built)