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

Function isRedirect

packages/router/src/operators/prioritized_guard_value.ts:59–61  ·  view source on GitHub ↗
(val: INTERIM_VALUES)

Source from the content-addressed store, hash-verified

57}
58
59function isRedirect(val: INTERIM_VALUES): val is UrlTree | RedirectCommand {
60 return isUrlTree(val) || val instanceof RedirectCommand;
61}

Callers 1

prioritizedGuardValueFunction · 0.85

Calls 1

isUrlTreeFunction · 0.90

Tested by

no test coverage detected