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

Member predicate ExprOrType::getEnclosingFunction

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

Function getEnclosingFunction()