SplitScript reference / timer / isRunning

timer.isRunning

Function

timer.isRunning() -> bool

Reports whether the timer is currently running.

This is a convenience check over the exhaustive timer state.

Effects: reads timer state

Runtime behavior: available everywhere; synchronous

Examples

Check whether a run is active

if timer.isRunning() {
    print("The timer is running")
}