class ActionDispatch::Routing::RouteSet::Generator

def named_route_exists?

Experimental RBS support (using type sampling data from the type_fusion project).

def named_route_exists?: () -> ActionDispatch::Journey::Route

This signature was generated using 29 samples from 1 application.

def named_route_exists?
  named_route && set.named_routes[named_route]
end