Reference · Rules, games and records
Directiontype
How the sides' tracks lie on the board.
Import it
import type { Direction } from "@johnmorrisdotca/sugoroku";
Definition
type Direction = "opposed" | "same";
Examples
import type { Direction } from "@johnmorrisdotca/sugoroku";
const value: Direction = "opposed";
console.log(value);opposedWhat it prints (run when this page was built)