clearInterval(interval); How to find out Interval is cleared?

clearInterval(interval); How to find out Interval is cleared?

BY 13 Mar 2017 Web Application Development

clearInterval(interval);

How to find out Interval is cleared?

(interval === null) doesn’t work

(interval === 0) doesn’t work

(!interval)doesn’t work

Thanks!

Written by