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

Method isCustomUseExisting

packages/core/injector/module.ts:341–343  ·  view source on GitHub ↗
(provider: any)

Source from the content-addressed store, hash-verified

339 }
340
341 public isCustomUseExisting(provider: any): provider is ExistingProvider {
342 return !isUndefined((provider as ExistingProvider).useExisting);
343 }
344
345 public isDynamicModule(exported: any): exported is DynamicModule {
346 return exported && exported.module;

Callers 1

addCustomProviderMethod · 0.95

Calls 1

isUndefinedFunction · 0.90

Tested by

no test coverage detected