deno.com

function clearTimeout

#clearTimeout(timeout:
Timeout
| string
| number
| undefined
): void

Cancels a Timeout object created by setTimeout().

Parameters #

#timeout:
Timeout
| string
| number
| undefined

A Timeout object as returned by setTimeout() or the primitive of the Timeout object as a string or a number.

Return Type #

void