Skip to content

Glossary: Angular Beyond the Basics

CanMatchFn

Also written: canMatch

A guard that runs while the router looks for a matching route. If it returns `false` the route is skipped and its lazy code never downloads.

Where the book teaches it

Related terms

GuardLazy loading