MCPcopy Create free account
hub / github.com/angular/angular / hasDeps

Function hasDeps

packages/core/src/di/r3_injector.ts:709–713  ·  view source on GitHub ↗
(
  value: ClassProvider | ConstructorProvider | StaticClassProvider,
)

Source from the content-addressed store, hash-verified

707}
708
709function hasDeps(
710 value: ClassProvider | ConstructorProvider | StaticClassProvider,
711): value is ClassProvider & {deps: any[]} {
712 return !!(value as any).deps;
713}
714
715function hasOnDestroy(value: any): value is OnDestroy {
716 return (

Callers 1

providerToFactoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected