Skip to content

Function: canHold() ​

ts
function canHold(spec): boolean;

Defined in: src/dice.ts:385

Whether some dice of a roll can be held while the rest are thrown again: plain dice only, none rerolled, exploding, kept or dropped, counted, raised, lowered or sorted.

Parameters ​

spec ​

RollSpec

Returns ​

boolean

MIT © John Morris