@dice-roller/rpg-dice-roller / presenters / isRollHistory
Function: isRollHistory()
isRollHistory(
target):target is RollHistory
Defined in: src/presenters/Presentable.ts:26
Narrows a presentable to a history by its shape: no type property and a rolls property. This is not validation of arbitrary input; lookalike objects can match.
Parameters
target
Returns
target is RollHistory