Skip to content
Utilities clearTimeout

$clearTimeout — Cancels a timeout. Returns true when it existed.

Cancels a timeout. Returns true when it existed.

Syntax

$clearTimeout[name]

Parameters

  • name (String, required) — Timer name

Return Value

  • Boolean.

Usage

$clearTimeout[name] → result

Example

$sendMessage[$clearTimeout[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.