Skip to content

Function: rangeOf() ​

ts
function rangeOf(spec): object;

Defined in: src/dice.ts:1051

The lowest and highest totals a spec can produce. An exploding die's highest is every explosion it is allowed.

Parameters ​

spec ​

RollSpec

Returns ​

object

min ​

ts
min: number;

max ​

ts
max: number;

MIT © John Morris