Skip to content

Function: loadHistory() ​

ts
function loadHistory(storage, key): Roll[];

Defined in: src/history.ts:65

Read a kept history. A storage that throws (a private window, blocked cookies) reads as empty.

Parameters ​

storage ​

StorageLike | undefined

key ​

string

Returns ​

Roll[]

MIT © John Morris