Skip to the content

Toranpuトランプ

Use a deck, play eleven games with computers, solve a solitaire, or display cards in your own design.

Toranpu is Japanese for playing cards. About the name

Contents

Reference · Cards, hands and piles

CardLandstype

Where a card a hand is given goes: to the front, or the end.

Import it

import type { CardLands } from "@johnmorrisdotca/toranpu/element";

Also exported from: @johnmorrisdotca/toranpu/element/define

Definition

type CardLands = "front" | "end";

Examples

import type { CardLands } from "@johnmorrisdotca/toranpu/element";

const value: CardLands = "end";
console.log(value);
end

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/toranpu 2.15.0.