Disable Timer

Hello,

How can you disable a timer?
I’m currently using the

IV=setInterval( function(){ input function;clearInterval(IV); }, value in microseconds or somthing );

code, but I don’t know if you could disable code. Anyway, how do I disable a timer?

Thanks in advance,
Kaico