MCPcopy Index your code
hub / github.com/angular/angular / isNotFound

Function isNotFound

packages/core/primitives/di/src/not_found.ts:29–31  ·  view source on GitHub ↗
(e: unknown)

Source from the content-addressed store, hash-verified

27 * Type guard for checking if an unknown value is a NotFound.
28 */
29export function isNotFound(e: unknown): e is NotFound {
30 return e === NOT_FOUND || (e as NotFoundError)?.name === 'ɵNotFound';
31}
32
33/**
34 * Type union of NotFound and NotFoundError.

Callers 3

retrieveMethod · 0.90
injectInjectorOnlyFunction · 0.90
retrieveMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…