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

Member predicate FunctionTypeExpr::isConstructor

Holds if this is a constructor type, such as new (x: string) => Object.

predicate isConstructor()