Reference · Rules, maps and records
isTenkaTablefunction
Whether a game this long for this many players is one Tenka is offered for.
Import it
import { isTenkaTable } from "@johnmorrisdotca/tenka";
Definition
function isTenkaTable(rounds: number, count: number): boolean
Parameters
| Name | Type | Description |
|---|---|---|
rounds | number | The supported round limit for the table. |
count | number | The player or item count requested. |
Returns
boolean
Whether a game this long for this many players is one Tenka is offered for.
Examples
import { isTenkaTable } from "@johnmorrisdotca/tenka";
console.log(isTenkaTable(10,2));trueWhat it prints (run when this page was built)