W3cubDocs

/Angular

GuardResult

The supported types that can be returned from a Router guard.

API

type GuardResult = boolean | UrlTree | RedirectCommand

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/router/GuardResult