Reference · Rules, games and records
variantSpecfunction
The row for a variant.
Import it
import { variantSpec } from "@johnmorrisdotca/sugoroku";
Definition
function variantSpec(key: VariantKey): VariantSpec
Parameters
| Name | Type | Description |
|---|---|---|
key | VariantKey | The native variant, preset or localized-label key specified by the signature. |
Returns
VariantSpec
The row for a variant.
Examples
import { variantSpec } from "@johnmorrisdotca/sugoroku";
console.log(variantSpec("tabula").dice);3What it prints (run when this page was built)