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

Method isCycle

packages/core/injector/settlement-signal.ts:56–58  ·  view source on GitHub ↗

* Check if relationship is circular. * @param wrapperId Wrapper id to check. * @returns True if relationship is circular, false otherwise.

(wrapperId: string)

Source from the content-addressed store, hash-verified

54 * @returns True if relationship is circular, false otherwise.
55 */
56 public isCycle(wrapperId: string) {
57 return !this.completed && this._refs.has(wrapperId);
58 }
59}

Callers 1

loadInstanceMethod · 0.80

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected