docs: function getRedirectRoute(that, path, newRoutePath, newRoutes, routeDivergenceIndex) {
          if(newRoutes.length > 0) {
              var redirectInfo = newRoutes[newRoutes.length-1].route.redirectInfo
          } else {
              var redirectInfo = newRoutePath[routeDivergenceIndex-1].route.redirectInfo
          }
  
          if(redirectInfo !== undefined) {
              var newPathToEmit = redirectInfo.path
              if(redirectInfo.emitOldPath)
                  newPathToEmit = path
  
              try {
                  var newPath = getPathFromInput(that.transform, redirectInfo.path)
              } catch(e) {
                  if(e.message === 'pathNotArray') {
                      throw new Error("A route passed to `redirect` must be an array")
                  } else {
                      throw e
                  }
              }
  
              return getNewRouteInfo(that, newRoutePath, newPath, newPathToEmit)
          }
  
          return false
      }