MCPcopy Create free account
hub / github.com/angular/angular / lastTimerId

Function lastTimerId

packages/core/test/resource/debounce_spec.ts:355–357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

353 }
354
355 function lastTimerId(): unknown {
356 return timerIds().at(-1);
357 }
358
359 function wasCleared(id: unknown): boolean {
360 return clearSpy.calls.allArgs().some(([arg]) => arg === id);

Callers 1

debounce_spec.tsFile · 0.85

Calls 2

timerIdsFunction · 0.85
atMethod · 0.45

Tested by

no test coverage detected