function gettype(obj) {
  var type = typeof obj;

  if (type !== 'object') {
    return type;
  }

  // inspect [[Class]] for objects
  return toString.call(obj)
    .replace(objectRegExp, '$1');
}
Create a new Route for the given path.

Each route contains a separate middleware stack and VERB handlers.

See the Route api documentation for details on adding handlers
and middleware to routes.

@param {String} path
@return {Route}
@api public