Reference · Tiles, layouts and deals
pairGoesAgainfunction
Whether taking this pair gives its taker another turn at the table: a flower or season pair.
Import it
import { pairGoesAgain } from "@johnmorrisdotca/jarajara";
Definition
function pairGoesAgain(code: string): boolean
Parameters
| Name | Type | Description |
|---|---|---|
code | string | The one-character face code or tile identifier. |
Returns
boolean
Whether taking this pair gives its taker another turn at the table: a flower or season pair.
Examples
import { pairGoesAgain } from "@johnmorrisdotca/jarajara";
console.log(pairGoesAgain("I"));trueWhat it prints (run when this page was built)