MCPcopy Index your code
hub / github.com/angular/components / isInheritanceCreatedDoc

Function isInheritanceCreatedDoc

tools/dgeni/common/class-inheritance.ts:17–28  ·  view source on GitHub ↗
(doc: ApiDoc)

Source from the content-addressed store, hash-verified

15
16/** Whether the given API doc has been created through inheritance. */
17export function isInheritanceCreatedDoc(doc: ApiDoc): doc is ClassLikeExportDoc {
18 // For member docs, we look if the containing API doc has been created through
19 // inheritance.
20 if (doc instanceof MemberDoc) {
21 return isInheritanceCreatedDoc(doc.containerDoc);
22 }
23
24 return (
25 doc instanceof ClassLikeExportDoc &&
26 (doc as InheritanceCreatedClassLikeDoc)._inheritanceCreated === true
27 );
28}
29
30/** Gets all class like export documents which the given doc inherits from. */
31export function getInheritedDocsOfClass(

Callers 2

isPublicDocFunction · 0.90
$processMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…