class ActionDispatch::Routing::RouteSet::NamedRouteCollection

def key?(name)

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

def key?: (String name) -> true

This signature was generated using 1 sample from 1 application.

def key?(name)
  return unless name
  routes.key? name.to_sym
end