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

Member predicate Expr::getIntValue

Gets the constant integer value this expression evaluates to, if any.

int getIntValue()