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

Member predicate Function::hasBody

Holds if this function has a body.

A TypeScript function has no body if it is ambient, abstract, or an overload signature.

A JavaScript function always has a body.

predicate hasBody()