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

Function hasMemberDecorator

tools/dgeni/common/decorators.ts:71–73  ·  view source on GitHub ↗
(doc: MemberDoc, decoratorName: string)

Source from the content-addressed store, hash-verified

69}
70
71export function hasMemberDecorator(doc: MemberDoc, decoratorName: string): boolean {
72 return doc.docType == 'member' && hasDecorator(doc, decoratorName);
73}
74
75export function hasClassDecorator(doc: ClassExportDoc, decoratorName: string): boolean {
76 return doc.docType == 'class' && hasDecorator(doc, decoratorName);

Callers 1

getBindingPropertyDataFunction · 0.90

Calls 1

hasDecoratorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…