Skip to content

Function: parseHistory() ​

ts
function parseHistory(text): Roll[];

Defined in: src/history.ts:43

A kept history read back from its text. Rolls that do not add up are dropped; text that is not a history reads as empty.

Parameters ​

text ​

string | null

Returns ​

Roll[]

MIT © John Morris