Rate this page:

clearInterval

Copy URL
clearInterval(intervalID: 

number

):

void

The clearInterval() method cancels a timed, repeating action which was previously established by a call to setInterval().

Parameters

  • intervalID:

    number

    The identifier of the repeated action you want to cancel. This ID was returned by the corresponding call to setInterval().

Returns

  • type:

    void