public function is()
    {
        $patterns = func_get_args();

        $name = $this->currentRouteName();

        foreach ($patterns as $pattern) {
            if (Str::is($pattern, $this->currentRouteName())) {
                return true;
            }
        }

        return false;
    }
public function is()
    {
        $patterns = func_get_args();

        $name = $this->currentRouteName();

        foreach ($patterns as $pattern) {
            if (Str::is($pattern, $this->currentRouteName())) {
                return true;
            }
        }

        return false;
    }
public function is ( ) { $ patterns = func_get_args ( ) ; $ name = $ this -> currentRouteName ( ) ; foreach ( $ patterns as $ pattern ) { if ( Str :: is ( $ pattern , $ this -> currentRouteName ( ) ) ) { return true ; } } return false ; }
Alias for the "currentRouteNamed" method.

@param  mixed  string
@return bool
Alias for the currentRouteNamed method .