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

Member predicate ExprOrType::getEnclosingFunction

Gets the function in which this expression or type appears, if any.

Function getEnclosingFunction()