MCPcopy
hub / github.com/angular/angular / isDirectiveInstance

Function isDirectiveInstance

packages/core/src/render3/context_discovery.ts:226–228  ·  view source on GitHub ↗
(instance: any)

Source from the content-addressed store, hash-verified

224}
225
226export function isDirectiveInstance(instance: any): boolean {
227 return instance && instance.constructor && instance.constructor.ɵdir;
228}
229
230/**
231 * Locates the element within the given LView and returns the matching index

Callers 1

getLContextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…