MCPcopy Index your code
hub / github.com/angular/angular / hasDirectives

Method hasDirectives

packages/core/schematics/utils/parse_html.ts:176–178  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

174 }
175
176 private hasDirectives(input: string): boolean {
177 return commonModuleDirectives.has(input);
178 }
179
180 private hasPipes(input: string): boolean {
181 return commonModulePipes.some((regexp) => regexp.test(input));

Callers 1

visitElementMethod · 0.95

Calls 1

hasMethod · 0.65

Tested by

no test coverage detected