$router->route()
Returns the current route. This will only return something, once Router::find() has been called and only if a route was found.
$router->route(): Kirby\Http\Route|null
Return types
Kirby\Http\Routeornull
This method modifies the existing $router object it is applied to and returns it again.