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

Function isPublicRouterEvent

packages/router/src/events.ts:658–664  ·  view source on GitHub ↗
(e: Event | PrivateRouterEvents)

Source from the content-addressed store, hash-verified

656}
657export type PrivateRouterEvents = BeforeActivateRoutes | RedirectRequest | BeforeRoutesRecognized;
658export function isPublicRouterEvent(e: Event | PrivateRouterEvents): e is Event {
659 return (
660 !(e instanceof BeforeActivateRoutes) &&
661 !(e instanceof RedirectRequest) &&
662 !(e instanceof BeforeRoutesRecognized)
663 );
664}
665
666/**
667 * Router events that allow you to track the lifecycle of the router.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…