Reference · Rules, tiles and records
PartySeattype
A seat asked for before the deal or at a join: a name (empty for its number) and whether a computer plays it.
Import it
import type { PartySeat } from "@johnmorrisdotca/kumimoji";
Definition
type PartySeat = {
name: string;
computer?: boolean;
};
Members
| Name | Type | Description |
|---|---|---|
name | string | |
computer (optional) | boolean | undefined |
Examples
import type { PartySeat } from "@johnmorrisdotca/kumimoji";
const value: PartySeat = {name:"Computer",computer:true};
console.log(value);{ name: 'Computer', computer: true }What it prints (run when this page was built)