Skip to content

Function: mayExplode() ​

ts
function mayExplode(sides, keep): boolean;

Defined in: src/dice.ts:368

Whether the dice may explode: numbered dice of a hundred sides or fewer, all of them kept. A custom die never does.

Parameters ​

sides ​

Sides

keep ​

Keep

Returns ​

boolean

MIT © John Morris