CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.0.3-dev (changelog, source)
Search

Member predicate MemberDeclaration::getADecorator

Gets a decorator applied to this member.

For example, a method of the form @A @B m() { ... } has decorators @A and @B.

Decorator getADecorator()