public function isRedirect(string $from): bool
	{
		foreach ($this->routes['*'] as $name => $route)
		{
			// Named route?
			if ($name === $from || key($route['route']) === $from)
			{
				return isset($route['redirect']) && is_numeric($route['redirect']);
			}
		}

		return false;
	}
public function isRedirect(string $from): bool
	{
		foreach ($this->routes['*'] as $name => $route)
		{
			// Named route?
			if ($name === $from || key($route['route']) === $from)
			{
				return isset($route['redirect']) && is_numeric($route['redirect']);
			}
		}

		return false;
	}
public function isRedirect ( string $ from ) : bool { foreach ( $ this -> routes [ '*' ] as $ name => $ route ) { // Named route? if ( $ name === $ from || key ( $ route [ 'route' ] ) === $ from ) { return isset ( $ route [ 'redirect' ] ) && is_numeric ( $ route [ 'redirect' ] ) ; } } return false ; }
Determines if the route is a redirecting route.

@param string $from

@return boolean
Determines if the route is a redirecting route .