---
title: clearInterval
framework: TVMLKit JS
role: symbol
role_heading: Function
platforms: [tvOS 9.0+]
path: tvmljs/1627411-clearinterval
---

# clearInterval

Stops the function associated with the identifier from repeating.

## Declaration

```data
void clearInterval(
    in String intervalID
);
```

## Parameters

- `intervalID`: A string identifying the interval to clear.

## Discussion

Discussion This function stops the function associated with the identifier created by the setInterval function from executing.

## See Also

### Automating Function Timing

- [setInterval](tvmljs/1627337-setinterval.md)
- [setTimeout](tvmljs/1627349-settimeout.md)
- [clearTimeout](tvmljs/1627416-cleartimeout.md)
