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