UNPKG

prendy

Version:

Make games with prerendered backdrops using babylonjs and repond

6 lines (5 loc) 161 B
export function clearTimeoutSafe( timeout?: ReturnType<typeof setTimeout> | null ) { if (timeout !== null && timeout !== undefined) clearTimeout(timeout); }