Reference · Tiles, layouts and deals
copiesOffunction
How many of a face the set holds: four of every ordinary face, one of each flower and season.
Import it
import { copiesOf } from "@johnmorrisdotca/jarajara";
Definition
function copiesOf(code: string): number
Parameters
| Name | Type | Description |
|---|---|---|
code | string | The one-character face code or tile identifier. |
Returns
number
How many of a face the set holds: four of every ordinary face, one of each flower and season.
Examples
import { copiesOf } from "@johnmorrisdotca/jarajara";
console.log(copiesOf("I"));1What it prints (run when this page was built)