CodeQL library for JavaScript
Search

Predicate hasNoEffect

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

Import path

import Expressions.ExprHasNoEffect
predicate hasNoEffect(Expr e)