Skip to content

Function: statsOf() ​

ts
function statsOf(
   history, 
   focus?, 
   sides?
): Stats;

Defined in: src/stats.ts:259

Stats for a history, oldest roll first. focus picks which spec's totals to break down, and which die's faces: its first kind, or sides when a roll of several kinds wants another.

Parameters ​

history ​

readonly Roll[]

focus? ​

RollSpec

sides? ​

| Sides | DiceGroup

Returns ​

Stats

MIT © John Morris