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

Member predicate EqualityTestExpr::getPolarity

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

boolean getPolarity()