Appearance
const isRoute: RouterAssets<RegisteredRouter>["isRoute"];
A guard to verify if a route or unknown value matches a given route name.
The name of the route to check against the current route.
True if the current route matches the given route name, false otherwise.