Rerun Detection
Hierarchy
-
Feature
↳
RerunDetection
Methods
onRerun
▸ onRerun(): boolean
Helper function to detect if the current run was starting using the "Rerun" option from the main menu.
Under the hood, this assumes that any run that is past the first floor and continues in the starting room of the run is a rerun.
In order to use this function, you must upgrade your mod with ISCFeature.RERUN_DETECTION
.
Returns
boolean
Defined in
packages/isaacscript-common/src/classes/features/other/RerunDetection.ts:60