Skip to content
Utilities clearInterval

$clearInterval — Cancels an interval. Returns true when it existed.

Cancels an interval. Returns true when it existed.

Syntax

$clearInterval[name]

Parameters

  • name (String, required) — Timer name

Return Value

  • Boolean.

Usage

$clearInterval[name] → result

Example

$sendMessage[$clearInterval[name]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.