Reference · Shared Awase table
tablePlayersAskedfunction
A players count from an address, or 1 (the solitaire) for anything that is not two to four.
Import it
import { tablePlayersAsked } from "@johnmorrisdotca/jarajara/table";
Definition
function tablePlayersAsked(value: unknown): number
Parameters
| Name | Type | Description |
|---|---|---|
value | unknown | The unknown player-count value to normalize. |
Returns
number
A players count from an address, or 1 (the solitaire) for anything that is not two to four.
Examples
import { tablePlayersAsked } from "@johnmorrisdotca/jarajara/table";
console.log(tablePlayersAsked("3"));3What it prints (run when this page was built)