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

Predicate hasNoEffect

Holds if the expression e should be reported as having no effect.

Import path

import Expressions.ExprHasNoEffect
predicate hasNoEffect(Expr e)