CodeQL library for Go
codeql/go-all 0.7.13 (changelog, source)
Search

Member predicate BinaryExpr::hasOperands

Holds if e and f (in either order) are the two operands of this binary expression.

predicate hasOperands(Expr e, Expr f)