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

Member predicate FunctionTypeExpr::isConstructor

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

predicate isConstructor()