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

Predicate TaintTracking::isNumberGuard

Holds if guard is a test that checks if operand is a number.

Import path

import javascript
predicate isNumberGuard(Node guard, Expr operand, boolean polarity)