d4
constd4: (count?) =>number
Defined in: src/dice.ts:132
A four-sided die, or count of them summed.
Parameters
Section titled “Parameters”count?
Section titled “count?”number
Returns
Section titled “Returns”number
Example
Section titled “Example”d4(); // 3d6(3); // 11, the sum of three d6d20(); // 17