I'm wondering if anyone here has encountered a boolean or code that you could check if a setInterval is actually running, without writing an extra code of "running = true" type of code.
Best example I could give if that I have a clock running via setInterval, ticking a second off the clock every 1000 ms with:
TickTock = setInterval(ClockTick, 1000);
So is there a way to call something that would essentially tell me "yes, the setInterval TickTock is in progress" ?