original_string: public function is()
      {
          $patterns = func_get_args();
  
          $name = $this->currentRouteName();
  
          foreach ($patterns as $pattern) {
              if (Str::is($pattern, $this->currentRouteName())) {
                  return true;
              }
          }
  
          return false;
      }
code: public function is()
      {
          $patterns = func_get_args();
  
          $name = $this->currentRouteName();
  
          foreach ($patterns as $pattern) {
              if (Str::is($pattern, $this->currentRouteName())) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: public function is ( ) { $ patterns = func_get_args ( ) ; $ name = $ this -> currentRouteName ( ) ; foreach ( $ patterns as $ pattern ) { if ( Str :: is ( $ pattern , $ this -> currentRouteName ( ) ) ) { return true ; } } return false ; }
docstring: Alias for the "currentRouteNamed" method.
  
  @param  mixed  string
  @return bool
docstring_tokens: Alias for the currentRouteNamed method .