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

Member predicate NeqExpr::getPolarity

Gets the polarity of this equality test, that is, true for == and false for !=.

boolean getPolarity()