MCPcopy
hub / github.com/nestjs/nest / isRouteInfo

Method isRouteInfo

packages/core/middleware/routes-mapper.ts:125–130  ·  view source on GitHub ↗
(
    path: string | string[] | undefined,
    objectOrClass: Function | RouteInfo,
  )

Source from the content-addressed store, hash-verified

123 }
124
125 private isRouteInfo(
126 path: string | string[] | undefined,
127 objectOrClass: Function | RouteInfo,
128 ): objectOrClass is RouteInfo {
129 return isUndefined(path);
130 }
131
132 private normalizeGlobalPath(path: string): string {
133 const prefix = addLeadingSlash(path);

Callers 1

mapRouteToRouteInfoMethod · 0.95

Calls 1

isUndefinedFunction · 0.90

Tested by

no test coverage detected