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

Function lastTimerId

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

Source from the content-addressed store, hash-verified

355 }
356
357 function lastTimerId(): unknown {
358 return timerIds().at(-1);
359 }
360
361 function wasCleared(id: unknown): boolean {
362 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