Skip to main content
clearInterval - timers - Node documentation
function clearInterval

Usage in Deno

import { clearInterval } from "node:timers";
clearInterval(intervalId:
Timeout
| string
| number
| undefined
): void

Cancels a Timeout object created by setInterval().

Parameters

intervalId:
Timeout
| string
| number
| undefined

Return Type

void
variable clearInterval

Type

global.clearInterval