CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.1 (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)