Skip to content

Function: groupOf() ​

ts
function groupOf(spec, die): DiceGroup;

Defined in: src/dice.ts:870

The kind of dice one die of a roll belongs to, with its rules, faces and weights.

Parameters ​

spec ​

RollSpec

die ​

DieRoll

Returns ​

DiceGroup

MIT © John Morris