CodeQL library for JavaScript
Search

Member predicate ExprOrType::getEnclosingFunction

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

Function getEnclosingFunction()