MCPcopy
hub / github.com/angular/angular / hasOverrideModifier

Function hasOverrideModifier

tools/tslint/noImplicitOverrideAbstractRule.ts:154–158  ·  view source on GitHub ↗

Gets whether the specified node has the `override` modifier applied.

(node: ts.Node)

Source from the content-addressed store, hash-verified

152
153/** Gets whether the specified node has the `override` modifier applied. */
154function hasOverrideModifier(node: ts.Node): boolean {
155 return !!(node as any).modifiers?.some(
156 (s: ts.Modifier) => s.kind === ts.SyntaxKind.OverrideKeyword,
157 );
158}
159
160/** Gets the property name text of the specified property name. */
161function getPropertyNameText(name: ts.PropertyName): string | null {

Callers 1

visitNodeFunction · 0.85

Calls 1

someMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…