SUITSconstant
The suits in the order a fresh deck is sorted and a foundation row is laid out: spades, hearts, diamonds, clubs — black, red, red, black, so no two neighbours on a row of four look alike.
Import it
import { SUITS } from "@johnmorrisdotca/toranpu/deck";
Definition
const SUITS: readonly Suit[] = ["spades", "hearts", "diamonds", "clubs"]
Examples
import { SUITS } from "@johnmorrisdotca/toranpu/deck";
console.log(SUITS);[ 'spades', 'hearts', 'diamonds', 'clubs' ]What it prints (run when this page was built)