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

Predicate TaintTracking :: isStringTypeGuard

A test for the value of typeof x, restricting the potential types of x.

Import path

import javascript
predicate isStringTypeGuard ( EqualityTest test , Expr operand , boolean polarity )