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

Member predicate StmtContainer::getBody

Gets the body of this container.

For scripts or modules, this is the container itself; for functions, it is the function body.

AstNode getBody()