Skip to main content
Version: Next

clearInterval

function clearInterval(id): void;

Cancel a repeated timer previously established by calling setInterval.

Parameters​

ParameterTypeDescription

id

number

The ID (integer) which identifies the schedule.

Returns​

void

Throws​

Throws TypeError if ID is not an integer.