Function: saveHistory()
ts
function saveHistory(
storage,
key,
history
): boolean;Defined in: src/history.ts:74
Keep a history. Returns false when the storage refused, so a caller can say so.
Parameters
storage
StorageLike | undefined
key
string
history
readonly Roll[]
Returns
boolean