Skip to content

Function: specOf() ​

ts
function specOf(groups, modifier?): RollSpec;

Defined in: src/dice.ts:362

A spec from its kinds of dice and a bonus, brought into range.

Parameters ​

groups ​

readonly Partial<DiceGroup>[]

modifier? ​

number = 0

Returns ​

RollSpec

MIT © John Morris