HitotsuResult型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
How a hand ended: who won it and what they scored, or who held least when nobody could go on.
インポート
import type { HitotsuResult } from "@johnmorrisdotca/hitotsu";
定義
type HitotsuResult = {
winners: number[];
points: number;
blocked: boolean;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
winners | number[] | |
points | number | |
blocked | boolean |
例
import type { HitotsuResult } from "@johnmorrisdotca/hitotsu";
const value: HitotsuResult = { winners: [0], points: 40, blocked: false };
console.log(value.points);40出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。