route_equal

Check if the current route is equal to the given uri or route name

Parameters
string $uri

URI string or the route name defined in route.config.php

#
Returns
boolean

true if it is matched, otherwise false